{"name":"is-obj-prop","version":"2.0.0","description":"Does a JS type have a property","main":"src/index.js","scripts":{"lint":"eslint .","test":"npm run lint && c8 ava"},"type":"module","engines":{"node":">=18.0.0"},"repository":{"type":"git","url":"git+https://github.com/dustinspecker/is-obj-prop.git"},"keywords":["js","javascript","object","property","types"],"author":{"name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com","url":"github.com/dustinspecker"},"license":"MIT","dependencies":{"lowercase-keys":"^3.0.0","obj-props":"^2.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-obj-prop@2.0.0","gitHead":"89176cde62ebb959e894a8b66851404f93ce2ba4","bugs":{"url":"https://github.com/dustinspecker/is-obj-prop/issues"},"homepage":"https://github.com/dustinspecker/is-obj-prop#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-2/VFrbzXSZVJIscazpxoB+pOQx2jBOAAL9Gui4cRKxflznUNBpsr8IDvBA4UGol3e40sltLNiY3qnZv/7qSUxA==","shasum":"2062f02e1fb46ffc9e610fa8cec056ae6e18a2c5","tarball":"http://registry-npm.ywwl.com/is-obj-prop/download/is-obj-prop-2.0.0.tgz","fileCount":4,"unpackedSize":3601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFot2gRc5lM9dz6rvesKaI0N7/XLq/Q0h11h7uE/a3lqAiEArVsxEhjjoN0luVgR65UjQVGF41MfQYSOIDoerCCisvA="}],"size":1882,"noattachment":false,"key":"/is-obj-prop/-/is-obj-prop-2.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-obj-prop_2.0.0_1717031767707_0.43494720840281675"},"_hasShrinkwrap":false,"readme":"# is-obj-prop\n[![NPM version](https://badge.fury.io/js/is-obj-prop.svg)](https://badge.fury.io/js/is-obj-prop) [![Coverage Status](https://img.shields.io/coveralls/dustinspecker/is-obj-prop.svg)](https://coveralls.io/r/dustinspecker/is-obj-prop?branch=main) [![Code Climate](https://codeclimate.com/github/dustinspecker/is-obj-prop/badges/gpa.svg)](https://codeclimate.com/github/dustinspecker/is-obj-prop)\n\n> Does a JS type have a property\n\n## Install\n```\nnpm install --save is-obj-prop\n```\n\n## Usage\n### ES2015\n```javascript\nimport isObjProp from 'is-obj-prop';\n\nisObjProp('array', 'length');\n// => true\n\nisObjProp('ARRAY', 'push');\n// => false\n\n// is-obj-prop can only verify native JS types\nisObjProp('gulp', 'task');\n// => false;\n```\n\n## API\n### isObjProp(type, propertyName)\n#### type\nType: `string`\n\nA native JS type to examine. Note: `is-obj-prop` can only verify native JS types.\n\n#### propertyName\nType: `string`\n\nProperty name to determine if a property of `type`.\n\n## LICENSE\nMIT © [Dustin Specker](https://github.com/dustinspecker)\n","publish_time":1717031767848,"_cnpm_publish_time":1717031767848,"dist-tags":{"latest":"2.0.0"}}