| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/gavin/workspace/readjs/node_modules/simple-is/ |
Upload File : |
{
"_args": [
[
{
"raw": "simple-is@~0.2.0",
"scope": null,
"escapedName": "simple-is",
"name": "simple-is",
"rawSpec": "~0.2.0",
"spec": ">=0.2.0 <0.3.0",
"type": "range"
},
"/home/gavin/workspace/meanjs/node_modules/ng-annotate"
]
],
"_from": "simple-is@>=0.2.0 <0.3.0",
"_id": "simple-is@0.2.0",
"_inCache": true,
"_location": "/simple-is",
"_npmUser": {
"name": "olov",
"email": "olov.lassus@gmail.com"
},
"_npmVersion": "1.2.18",
"_phantomChildren": {},
"_requested": {
"raw": "simple-is@~0.2.0",
"scope": null,
"escapedName": "simple-is",
"name": "simple-is",
"rawSpec": "~0.2.0",
"spec": ">=0.2.0 <0.3.0",
"type": "range"
},
"_requiredBy": [
"/ng-annotate"
],
"_resolved": "https://registry.npmjs.org/simple-is/-/simple-is-0.2.0.tgz",
"_shasum": "2abb75aade39deb5cc815ce10e6191164850baf0",
"_shrinkwrap": null,
"_spec": "simple-is@~0.2.0",
"_where": "/home/gavin/workspace/meanjs/node_modules/ng-annotate",
"author": {
"name": "Olov Lassus",
"email": "olov.lassus@gmail.com"
},
"bugs": {
"url": "https://github.com/olov/simple-is/issues"
},
"dependencies": {},
"description": "maximally minimal type-testing library",
"devDependencies": {
"tap": "~0.4.0"
},
"directories": {},
"dist": {
"shasum": "2abb75aade39deb5cc815ce10e6191164850baf0",
"tarball": "https://registry.npmjs.org/simple-is/-/simple-is-0.2.0.tgz"
},
"homepage": "https://github.com/olov/simple-is#readme",
"keywords": [
"is",
"type",
"test",
"check",
"assert"
],
"license": "MIT",
"main": "simple-is.js",
"maintainers": [
{
"name": "olov",
"email": "olov.lassus@gmail.com"
}
],
"name": "simple-is",
"optionalDependencies": {},
"readme": "# simple-is.js\nA maximally minimal type-testing library. Use it to make your code\nmore readable. Works in node and browsers.\n\n\n\n## Usage\n`var is = require(\"simple-is\");`\n\nUse `is.number(x)` instead of `typeof x === \"number\"` (also `is.boolean`, `is.string`, `is.fn`).\n\nUse `is.nan(x)` instead of `typeof x === \"number\" && isNaN(x)`, `x !== x` or ES6 `Number.isNaN(x)`.\n\nUse `is.object(x)` instead of `x !== null && typeof x === \"object\"`.\n\nUse `is.primitive(x)` instead of `x === null || x === undefined || typeof x === \"boolean\" || typeof x === \"number\" || typeof x === \"string\"` (verbose on purpose).\n\nUse `is.array(x)` instead of ES5 `Array.isArray`.\n\nUse `is.finitenumber(x)` instead of `typeof x === \"number\" && isFinite(x)` or ES6 `Number.isFinite(x)`.\n\nUse `is.someof(x, [\"first\", 2, obj])` instead of (usually) `x === \"first\" || x === 2 || x === obj` or (alternatively) `[\"first\", 2, obj].indexOf(x) >= 0`. Great for reducing copy and paste mistake in `if`-conditions and for making them more readable.\n\nUse `is.noneof(x, [\"first\", 2, obj])` instead of (usually) `x !== \"first\" && x !== 2 && x !== obj` or (alternatively) `[\"first\", 2, obj].indexOf(x) === -1`.\n\nUse `is.own(x, \"name\")` instead of `Object.prototype.hasOwnProperty.call(x, \"name\")`.\n\nThat's it.\n\n\n\n## Installation\n\n### Node\nInstall using npm\n\n npm install simple-is\n\n```javascript\nvar is = require(\"simple-is\");\n```\n\n### Browser\nClone the repo and include it in a script tag\n\n git clone https://github.com/olov/simple-is.git\n\n```html\n<script src=\"simple-is/simple-is.js\"></script>\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/olov/simple-is.git"
},
"scripts": {
"test": "tap test/*.js"
},
"version": "0.2.0"
}