mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 20:00:05 +02:00
add some packages
This commit is contained in:
21
node_modules/is-primitive/LICENSE
generated
vendored
Normal file
21
node_modules/is-primitive/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
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.
|
57
node_modules/is-primitive/README.md
generated
vendored
Normal file
57
node_modules/is-primitive/README.md
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
# is-primitive [](http://badge.fury.io/js/is-primitive) [](https://travis-ci.org/jonschlinkert/is-primitive)
|
||||
|
||||
> Returns `true` if the value is a primitive.
|
||||
|
||||
## Install with [npm](npmjs.org)
|
||||
|
||||
```bash
|
||||
npm i is-primitive --save
|
||||
```
|
||||
|
||||
## Running tests
|
||||
Install dev dependencies.
|
||||
|
||||
```bash
|
||||
npm i -d && npm test
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isPrimitive = require('is-primitive');
|
||||
isPrimitive('abc');
|
||||
//=> true
|
||||
|
||||
isPrimitive(42);
|
||||
//=> true
|
||||
|
||||
isPrimitive(false);
|
||||
//=> true
|
||||
|
||||
isPrimitive(true);
|
||||
//=> true
|
||||
|
||||
isPrimitive({});
|
||||
//=> false
|
||||
|
||||
isPrimitive([]);
|
||||
//=> false
|
||||
|
||||
isPrimitive(function(){});
|
||||
//=> false
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014-2015 Jon Schlinkert
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 16, 2015._
|
13
node_modules/is-primitive/index.js
generated
vendored
Normal file
13
node_modules/is-primitive/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* is-primitive <https://github.com/jonschlinkert/is-primitive>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
// see http://jsperf.com/testing-value-is-primitive/7
|
||||
module.exports = function isPrimitive(value) {
|
||||
return value == null || (typeof value !== 'function' && typeof value !== 'object');
|
||||
};
|
71
node_modules/is-primitive/package.json
generated
vendored
Normal file
71
node_modules/is-primitive/package.json
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"_from": "is-primitive@^2.0.0",
|
||||
"_id": "is-primitive@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
|
||||
"_location": "/is-primitive",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-primitive@^2.0.0",
|
||||
"name": "is-primitive",
|
||||
"escapedName": "is-primitive",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/is-equal-shallow"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
|
||||
"_shasum": "207bab91638499c07b2adf240a41a87210034575",
|
||||
"_spec": "is-primitive@^2.0.0",
|
||||
"_where": "/home/s2/Documents/Code/minifyfromhtml/node_modules/is-equal-shallow",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/is-primitive/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Returns `true` if the value is a primitive. ",
|
||||
"devDependencies": {
|
||||
"mocha": "*",
|
||||
"should": "^4.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jonschlinkert/is-primitive",
|
||||
"keywords": [
|
||||
"boolean",
|
||||
"check",
|
||||
"number",
|
||||
"primitive",
|
||||
"string",
|
||||
"symbol",
|
||||
"type",
|
||||
"typeof",
|
||||
"util"
|
||||
],
|
||||
"license": {
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/jonschlinkert/is-primitive/blob/master/LICENSE"
|
||||
},
|
||||
"main": "index.js",
|
||||
"name": "is-primitive",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jonschlinkert/is-primitive.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "2.0.0"
|
||||
}
|
Reference in New Issue
Block a user