mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 20:00:05 +02:00
use minify
This commit is contained in:
21
node_modules/param-case/LICENSE
generated
vendored
Normal file
21
node_modules/param-case/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
45
node_modules/param-case/README.md
generated
vendored
Normal file
45
node_modules/param-case/README.md
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
# Param Case
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
[![NPM downloads][downloads-image]][downloads-url]
|
||||
[![Build status][travis-image]][travis-url]
|
||||
[![Test coverage][coveralls-image]][coveralls-url]
|
||||
|
||||
Param case a string.
|
||||
|
||||
Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install param-case --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
var paramCase = require('param-case')
|
||||
|
||||
paramCase('string') //=> "string"
|
||||
paramCase('camelCase') //=> "camel-case"
|
||||
paramCase('sentence case') //=> "sentence-case"
|
||||
|
||||
paramCase('MY STRING', 'tr') //=> "my-strıng"
|
||||
```
|
||||
|
||||
## Typings
|
||||
|
||||
Includes a [TypeScript definition](param-case.d.ts).
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/param-case.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/param-case
|
||||
[downloads-image]: https://img.shields.io/npm/dm/param-case.svg?style=flat
|
||||
[downloads-url]: https://npmjs.org/package/param-case
|
||||
[travis-image]: https://img.shields.io/travis/blakeembrey/param-case.svg?style=flat
|
||||
[travis-url]: https://travis-ci.org/blakeembrey/param-case
|
||||
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/param-case.svg?style=flat
|
||||
[coveralls-url]: https://coveralls.io/r/blakeembrey/param-case?branch=master
|
71
node_modules/param-case/package.json
generated
vendored
Normal file
71
node_modules/param-case/package.json
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"_from": "param-case@2.1.x",
|
||||
"_id": "param-case@2.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=",
|
||||
"_location": "/param-case",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "param-case@2.1.x",
|
||||
"name": "param-case",
|
||||
"escapedName": "param-case",
|
||||
"rawSpec": "2.1.x",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "2.1.x"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/html-minifier"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",
|
||||
"_shasum": "df94fd8cf6531ecf75e6bef9a0858fbc72be2247",
|
||||
"_spec": "param-case@2.1.x",
|
||||
"_where": "F:\\projects\\p\\minifyfromhtml\\node_modules\\html-minifier",
|
||||
"author": {
|
||||
"name": "Blake Embrey",
|
||||
"email": "hello@blakeembrey.com",
|
||||
"url": "http://blakeembrey.me"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/blakeembrey/param-case/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"no-case": "^2.2.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Param case a string",
|
||||
"devDependencies": {
|
||||
"istanbul": "^0.4.3",
|
||||
"mocha": "^3.2.0",
|
||||
"standard": "^9.0.1"
|
||||
},
|
||||
"files": [
|
||||
"param-case.js",
|
||||
"param-case.d.ts",
|
||||
"LICENSE"
|
||||
],
|
||||
"homepage": "https://github.com/blakeembrey/param-case",
|
||||
"keywords": [
|
||||
"param",
|
||||
"case",
|
||||
"dash",
|
||||
"hyphen"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "param-case.js",
|
||||
"name": "param-case",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/blakeembrey/param-case.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "standard",
|
||||
"test": "npm run lint && npm run test-cov",
|
||||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
|
||||
"test-std": "mocha -- -R spec --bail"
|
||||
},
|
||||
"typings": "param-case.d.ts",
|
||||
"version": "2.1.1"
|
||||
}
|
3
node_modules/param-case/param-case.d.ts
generated
vendored
Normal file
3
node_modules/param-case/param-case.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
declare function paramCase (value: string, locale?: string): string;
|
||||
|
||||
export = paramCase;
|
12
node_modules/param-case/param-case.js
generated
vendored
Normal file
12
node_modules/param-case/param-case.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var noCase = require('no-case')
|
||||
|
||||
/**
|
||||
* Param case a string.
|
||||
*
|
||||
* @param {string} value
|
||||
* @param {string} [locale]
|
||||
* @return {string}
|
||||
*/
|
||||
module.exports = function (value, locale) {
|
||||
return noCase(value, locale, '-')
|
||||
}
|
Reference in New Issue
Block a user