{"name":"is-plain-obj","version":"1.0.0","description":"Check if a value is a plain object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-plain-obj.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["obj","object","is","check","test","type","plain","vanilla","pure","simple"],"devDependencies":{"ava":"0.0.4"},"gitHead":"ca2adca4deadaa0a632d8abc40e1e4654ccd4c1b","bugs":{"url":"https://github.com/sindresorhus/is-plain-obj/issues"},"homepage":"https://github.com/sindresorhus/is-plain-obj#readme","_id":"is-plain-obj@1.0.0","_shasum":"f8d5dc92b99fa4fd077984ba30b798908a0566e7","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f8d5dc92b99fa4fd077984ba30b798908a0566e7","tarball":"http://registry-npm.ywwl.com/is-plain-obj/download/is-plain-obj-1.0.0.tgz","integrity":"sha512-WF1r9IVpMvyqLxfEJIENZtzJq6SrUh4rA6mJ4U8FtAmlCDHlwrTcTsy0Mh3Z7lZeP5HrBalP3HVgHexKmKU5Ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFWQ9Ah9e5NLCft4NLn73XB79pWlDYJLfd2n7zFQsX5pAiEAtNMS8NkKVV8waGi0g8m8/DPpJ/KoazQbEpdmQR6qqzI="}],"size":1599,"noattachment":false,"key":"/is-plain-obj/-/is-plain-obj-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# is-plain-obj\n\n> Check if a value is a plain object\n\nAn object is plain if it's created by either `{}`, `new Object()`, or `Object.create(null)`.\n\n## Install\n\n```\n$ npm install is-plain-obj\n```\n\n## Usage\n\n```js\nimport isPlainObject from 'is-plain-obj';\nimport {runInNewContext} from 'node:vm';\n\nisPlainObject({foo: 'bar'});\n//=> true\n\nisPlainObject(new Object());\n//=> true\n\nisPlainObject(Object.create(null));\n//=> true\n\n// This works across realms\nisPlainObject(runInNewContext('({})'));\n//=> true\n\nisPlainObject([1, 2, 3]);\n//=> false\n\nclass Unicorn {}\nisPlainObject(new Unicorn());\n//=> false\n\nisPlainObject(Math);\n//=> false\n```\n\n## Related\n\n- [is-obj](https://github.com/sindresorhus/is-obj) - Check if a value is an object\n- [is](https://github.com/sindresorhus/is) - Type check values\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-is-plain-obj?utm_source=npm-is-plain-obj&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1436613363296,"_cnpm_publish_time":1436613363296,"dist-tags":{"latest":"4.1.0"}}