{"name":"is-proto-prop","version":"3.0.0","description":"Does a JS type's prototype have a property","main":"src/index.js","scripts":{"lint":"eslint .","test":"npm run lint && c8 ava"},"repository":{"type":"git","url":"git+https://github.com/dustinspecker/is-proto-prop.git"},"keywords":["js","javascript","proto","properties"],"author":{"name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com","url":"github.com/dustinspecker"},"engines":{"node":">=18.0.0"},"type":"module","license":"MIT","dependencies":{"lowercase-keys":"^3.0.0","prototype-properties":"^5.0.0"},"devDependencies":{"@eslint/js":"^9.3.0","ava":"^6.1.3","c8":"^9.1.0","eslint":"^9.3.0","globals":"^15.3.0"},"c8":{"reporter":["lcov","text"]},"_id":"is-proto-prop@3.0.0","gitHead":"81e003834d61b7e7683158a70ea4178dda443a31","bugs":{"url":"https://github.com/dustinspecker/is-proto-prop/issues"},"homepage":"https://github.com/dustinspecker/is-proto-prop#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-7kqZ15T/11KZvz8LqRdQcQ+gppEt3K0xLmtmk3JzeT+hu5VyaYnxBfrBDzxzNG7PTnHTLrmx00MURfXQE0NItw==","shasum":"fdcee2a9e5402f54b56230ffd49211814238d9ab","tarball":"http://registry-npm.ywwl.com/is-proto-prop/download/is-proto-prop-3.0.0.tgz","fileCount":23,"unpackedSize":1695306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLQbOLTxHP+FEHjQKd9Tr4o8jy/vabn1qWz7+Y3G1VuAiAoc2J28/9OGZCQzKidUWWdq3SYOX0k1YnhIM8vK3IcNg=="}],"size":227220,"noattachment":false,"key":"/is-proto-prop/-/is-proto-prop-3.0.0.tgz"},"_npmUser":{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"},"directories":{},"maintainers":[{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-proto-prop_3.0.0_1716429294039_0.4530423871069298"},"_hasShrinkwrap":false,"readme":"# is-proto-prop\n[![NPM version](https://badge.fury.io/js/is-proto-prop.svg)](https://badge.fury.io/js/is-proto-prop) [![Coverage Status](https://img.shields.io/coveralls/dustinspecker/is-proto-prop.svg)](https://coveralls.io/r/dustinspecker/is-proto-prop?branch=master)\n\n[![Code Climate](https://codeclimate.com/github/dustinspecker/is-proto-prop/badges/gpa.svg)](https://codeclimate.com/github/dustinspecker/is-proto-prop)\n\n> Does a JS type's prototype have a property\n\n## Install\n```\nnpm install --save is-proto-prop\n```\n\n## Usage\n### ES2015\n```javascript\nimport isProtoProp from 'is-proto-prop';\n\nisProtoProp('array', 'length');\n// => true\n\nisProtoProp('Error', 'ignore');\n// => false\n\n// `is-proto-props` can only verify native JS types\nisProtoProp('gulp', 'task');\n// => false\n```\n\n## API\n### isProtoProp(type, propertyName)\nReturns a `Boolean` if `propertyName` is on `type`'s prototype.\n\n#### type\ntype: `string`\n\nJS type to examine the prototype of. Note: `is-proto-prop` only looks at native JS types.\n\n#### propertyName\ntype: `string`\n\nProperty name to look for on `type`'s prototype. Note: `propertyName` is case sensitive.\n\n## LICENSE\nMIT © [Dustin Specker](https://github.com/dustinspecker)\n","publish_time":1716429294265,"_cnpm_publish_time":1716429294265,"dist-tags":{"latest":"3.0.1"}}