UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

166 lines (165 loc) 7.84 kB
{ "_args": [ [ { "raw": "is-plain-object@^2.0.3", "scope": null, "escapedName": "is-plain-object", "name": "is-plain-object", "rawSpec": "^2.0.3", "spec": ">=2.0.3 <3.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/set-value" ] ], "_from": "is-plain-object@>=2.0.3 <3.0.0", "_id": "is-plain-object@2.0.4", "_inCache": true, "_location": "/is-plain-object", "_nodeVersion": "7.7.3", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/is-plain-object-2.0.4.tgz_1499812869259_0.27965074591338634" }, "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "_npmVersion": "5.2.0", "_phantomChildren": {}, "_requested": { "raw": "is-plain-object@^2.0.3", "scope": null, "escapedName": "is-plain-object", "name": "is-plain-object", "rawSpec": "^2.0.3", "spec": ">=2.0.3 <3.0.0", "type": "range" }, "_requiredBy": [ "/extend-shallow/is-extendable", "/mixin-deep/is-extendable", "/set-value", "/union-value/set-value" ], "_resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "_shasum": "2c163b3fafb1b606d9d17928f05c2a1c38e07677", "_shrinkwrap": null, "_spec": "is-plain-object@^2.0.3", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/set-value", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/is-plain-object/issues" }, "contributors": [ { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Osman Nuri Okumuş", "url": "http://onokumus.com" }, { "name": "Steven Vachon", "url": "https://svachon.com" }, { "url": "https://github.com/wtgtybhertgeghgtwtg" } ], "dependencies": { "isobject": "^3.0.1" }, "description": "Returns true if an object was created by the `Object` constructor.", "devDependencies": { "browserify": "^14.4.0", "chai": "^4.0.2", "gulp-format-md": "^1.0.0", "mocha": "^3.4.2", "mocha-phantomjs": "^4.1.0", "phantomjs": "^2.1.7", "uglify-js": "^3.0.24" }, "directories": {}, "dist": { "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "shasum": "2c163b3fafb1b606d9d17928f05c2a1c38e07677", "tarball": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.d.ts", "index.js" ], "gitHead": "81345df0d1700a5c285f379cbdca0e273388910d", "homepage": "https://github.com/jonschlinkert/is-plain-object", "keywords": [ "check", "is", "is-object", "isobject", "javascript", "kind", "kind-of", "object", "plain", "type", "typeof", "value" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "stevenvachon", "email": "contact@svachon.com" } ], "name": "is-plain-object", "optionalDependencies": {}, "readme": "# is-plain-object [![NPM version](https://img.shields.io/npm/v/is-plain-object.svg?style=flat)](https://www.npmjs.com/package/is-plain-object) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-plain-object.svg?style=flat)](https://npmjs.org/package/is-plain-object) [![NPM total downloads](https://img.shields.io/npm/dt/is-plain-object.svg?style=flat)](https://npmjs.org/package/is-plain-object) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-plain-object.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-plain-object)\n\n> Returns true if an object was created by the `Object` constructor.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-plain-object\n```\n\nUse [isobject](https://github.com/jonschlinkert/isobject) if you only want to check if the value is an object and not an array or null.\n\n## Usage\n\n```js\nvar isPlainObject = require('is-plain-object');\n```\n\n**true** when created by the `Object` constructor.\n\n```js\nisPlainObject(Object.create({}));\n//=> true\nisPlainObject(Object.create(Object.prototype));\n//=> true\nisPlainObject({foo: 'bar'});\n//=> true\nisPlainObject({});\n//=> true\n```\n\n**false** when not created by the `Object` constructor.\n\n```js\nisPlainObject(1);\n//=> false\nisPlainObject(['foo', 'bar']);\n//=> false\nisPlainObject([]);\n//=> false\nisPlainObject(new Foo);\n//=> false\nisPlainObject(null);\n//=> false\nisPlainObject(Object.create(null));\n//=> false\n```\n\n## About\n\n### Related projects\n\n* [is-number](https://www.npmjs.com/package/is-number): Returns true if the value is a number. comprehensive tests. | [homepage](https://github.com/jonschlinkert/is-number \"Returns true if the value is a number. comprehensive tests.\")\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject \"Returns true if the value is an object and not an array or null.\")\n* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 17 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 6 | [stevenvachon](https://github.com/stevenvachon) |\n| 3 | [onokumus](https://github.com/onokumus) |\n| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 11, 2017._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/is-plain-object.git" }, "scripts": { "browserify": "browserify index.js --standalone isPlainObject | uglifyjs --compress --mangle -o browser/is-plain-object.js", "test": "npm run test_node && npm run browserify && npm run test_browser", "test_browser": "mocha-phantomjs test/browser.html", "test_node": "mocha" }, "types": "index.d.ts", "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "is-number", "isobject", "kind-of" ] }, "lint": { "reflinks": true } }, "version": "2.0.4" }