{"name":"is-plain-obj","version":"2.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":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["object","is","check","test","type","plain","vanilla","pure","simple"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"5d71751309c2dd9a122d5d68fd373b66a4e0ee4f","bugs":{"url":"https://github.com/sindresorhus/is-plain-obj/issues"},"homepage":"https://github.com/sindresorhus/is-plain-obj#readme","_id":"is-plain-obj@2.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-EYisGhpgSCwspmIuRHGjROWTon2Xp8Z7U03Wubk/bTL5TTRC5R1rGVgyjzBrk9+ULdH6cRD06KRcw/xfqhVYKQ==","shasum":"7fd1a7f1b69e160cde9181d2313f445c68aa2679","tarball":"http://registry-npm.ywwl.com/is-plain-obj/download/is-plain-obj-2.0.0.tgz","fileCount":5,"unpackedSize":3318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcutChCRA9TVsSAnZWagAAMMoQAIRce8vEsvxrjg6nF9JP\nTgj7AEeF4HyskcGaffpEy8FgST4HyaIE9SBJYGb385hbZfmqGXL+y7RggXBd\nMWIvKJtRI7Cs93RT5VvY/n8AIKFsIKxlXwbVdT6lcoJP2xY38n5WPbSYK5HG\nAfVcuRLeg2+rBvHXRcEjRby9jfDhJ6CHX5SR7M0q4KZsnd79zjq2hb2BlbHk\nlILBqo4umBylQzJlhWPfg2NBQO4a9od7tz1GlQdDMxm5RtHVTcgDunexZw2M\noVsnMccOV0FqOwI1zEz4Du7QBfJzoibZc1XJ3DdNq0jF1OJLyMAm4ZI+DW3h\nyDQEQcwLWRER4RwzFm4vr6ttfySUCBssl12sguxis1GAoSNCp0TMIIYZ/gSW\nVI38L7JqLMwPSZM6lI0lXhqTUbw8bgMsqWY2/1nR0OxRd0LItuY804Jp2Spk\n4gzLSUO28gzXREtobVYbAX2aZWSx7KKt0WvDumlst0PoJLlv2rMbqVj/gbVA\nRWMeHJ1YNwUFWID5T0Pq/ZbzmFzgiblHFYDRr3yl/7Vsid85EO496avnA4tK\nE6GRe6IevsvvHQFncsnQ+xXkYKLp1ahtMdDiM3vTXf8p2DXjGNvEFqPc+smP\nyp08nTfTqa60quz45C0Rk61jRfFx8cqkfpr8sH8M4TL0odgjmWioggyhwKrv\n4Nww\r\n=D1wu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBuY6QZAWT+VqcXQ4XizZgLDVqA4SKt6VVC6+wS6bE7jAiEApaZNxOrmGU9NUkc4OOGb7i0ttEl37vGEDy1biWgWROw="}],"size":1671,"noattachment":false,"key":"/is-plain-obj/-/is-plain-obj-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-plain-obj_2.0.0_1555746976414_0.14368271805383803"},"_hasShrinkwrap":false,"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":1555746976602,"_cnpm_publish_time":1555746976602,"dist-tags":{"latest":"4.1.0"}}