diff options
Diffstat (limited to 'node_modules/is-primitive')
-rw-r--r-- | node_modules/is-primitive/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/is-primitive/README.md | 57 | ||||
-rw-r--r-- | node_modules/is-primitive/index.js | 13 | ||||
-rw-r--r-- | node_modules/is-primitive/package.json | 46 |
4 files changed, 0 insertions, 137 deletions
diff --git a/node_modules/is-primitive/LICENSE b/node_modules/is-primitive/LICENSE deleted file mode 100644 index fa30c4cb3..000000000 --- a/node_modules/is-primitive/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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. diff --git a/node_modules/is-primitive/README.md b/node_modules/is-primitive/README.md deleted file mode 100644 index e1c306428..000000000 --- a/node_modules/is-primitive/README.md +++ /dev/null @@ -1,57 +0,0 @@ -# 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._
\ No newline at end of file diff --git a/node_modules/is-primitive/index.js b/node_modules/is-primitive/index.js deleted file mode 100644 index 55f11cf05..000000000 --- a/node_modules/is-primitive/index.js +++ /dev/null @@ -1,13 +0,0 @@ -/*! - * 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'); -}; diff --git a/node_modules/is-primitive/package.json b/node_modules/is-primitive/package.json deleted file mode 100644 index b716f4ece..000000000 --- a/node_modules/is-primitive/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "is-primitive", - "description": "Returns `true` if the value is a primitive. ", - "version": "2.0.0", - "homepage": "https://github.com/jonschlinkert/is-primitive", - "author": { - "name": "Jon Schlinkert", - "url": "https://github.com/jonschlinkert" - }, - "repository": { - "type": "git", - "url": "git://github.com/jonschlinkert/is-primitive.git" - }, - "bugs": { - "url": "https://github.com/jonschlinkert/is-primitive/issues" - }, - "license": { - "type": "MIT", - "url": "https://github.com/jonschlinkert/is-primitive/blob/master/LICENSE" - }, - "files": [ - "index.js" - ], - "main": "index.js", - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "mocha" - }, - "devDependencies": { - "mocha": "*", - "should": "^4.0.4" - }, - "keywords": [ - "boolean", - "check", - "number", - "primitive", - "string", - "symbol", - "type", - "typeof", - "util" - ] -} |