{"name":"is-proto-prop","version":"3.0.1","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.1","gitHead":"89d7f6cdf08666ca7a352821ae42a29fcea8161a","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-S8xSxNMGJO4eZD86kO46zrq2gLIhA+rN9443lQEvt8Mz/l8cxk72p/AWFmofY6uL9g9ILD6cXW6j8QQj4F3Hcw==","shasum":"a5fa2efeae240899778bd221fc17579020cd54e1","tarball":"http://registry-npm.ywwl.com/is-proto-prop/download/is-proto-prop-3.0.1.tgz","fileCount":4,"unpackedSize":3816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5EmG5y6wJVkOiyb7a5WitladepXNRHTtDsA3nSJqpoAiAmMfvIVnceh1AnUdTNsAjDALg968JW3Uihr1nk+BrbEg=="}],"size":1946,"noattachment":false,"key":"/is-proto-prop/-/is-proto-prop-3.0.1.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.1_1716429427603_0.9878694872167493"},"_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":1716429427753,"_cnpm_publish_time":1716429427753,"dist-tags":{"latest":"3.0.1"}}