{"_id":"is-obj-prop","_rev":"4-956fd8a4fad9d80e308e8fc4b5abff2a","name":"is-obj-prop","description":"Does a JS type have a property","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"is-obj-prop","version":"1.0.0","keywords":["js","javascript","object","property","types"],"author":{"url":"github.com/dustinspecker","name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com"},"license":"MIT","_id":"is-obj-prop@1.0.0","maintainers":[{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"}],"homepage":"https://github.com/dustinspecker/is-obj-prop#readme","bugs":{"url":"https://github.com/dustinspecker/is-obj-prop/issues"},"dist":{"shasum":"b34de79c450b8d7c73ab2cdf67dc875adb85f80e","tarball":"https://registry.npmjs.org/is-obj-prop/-/is-obj-prop-1.0.0.tgz","integrity":"sha512-5Idb61slRlJlsAzi0Wsfwbp+zZY+9LXKUAZpvT/1ySw+NxKLRWfa0Bzj+wXI3fX5O9hiddm5c3DAaRSNP/yl2w==","signatures":[{"sig":"MEYCIQCDFi7CToVuyPikgmJ92gdJMLEV1mKax2JVFzIJjeGGoQIhAPnMb/GURdiPygHAvN6Afau3hSvx0f2JMQZizrO99YVA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"b34de79c450b8d7c73ab2cdf67dc875adb85f80e","gitHead":"d51aae3130ba27df48a2f2fec8727027b9106a40","scripts":{"test":"gulp test","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"_npmUser":{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"},"repository":{"url":"git+https://github.com/dustinspecker/is-obj-prop.git","type":"git"},"_npmVersion":"3.8.6","description":"Does a JS type have a property","_nodeVersion":"6.0.0","dependencies":{"obj-props":"^1.0.0","lowercase-keys":"^1.0.0"},"devDependencies":{"del":"^2.0.0","chai":"^3.0.0","gulp":"^3.9.0","gulp-if":"^2.0.0","coveralls":"^2.11.2","gulp-alex":"^3.0.0","babel-core":"^6.0.12","gulp-babel":"^6.0.0","gulp-mocha":"^3.0.0","gulp-eslint":"^3.0.1","babel-eslint":"^6.0.0-beta.6","gulp-plumber":"^1.0.1","gulp-istanbul":"^1.0.0","eslint-plugin-xo":"^0.5.1","babel-preset-es2015":"^6.0.12","eslint-config-dustinspecker":"^1.1.0","eslint-plugin-new-with-error":"^1.1.0","eslint-plugin-no-use-extend-native":"^0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/is-obj-prop-1.0.0.tgz_1475363194402_0.32480845134705305","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"2.0.0":{"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":"https://registry.npmjs.org/is-obj-prop/-/is-obj-prop-2.0.0.tgz","fileCount":4,"unpackedSize":3601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFot2gRc5lM9dz6rvesKaI0N7/XLq/Q0h11h7uE/a3lqAiEArVsxEhjjoN0luVgR65UjQVGF41MfQYSOIDoerCCisvA="}]},"_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}},"time":{"created":"2016-10-01T23:06:36.230Z","modified":"2024-05-30T01:16:08.024Z","1.0.0":"2016-10-01T23:06:36.230Z","2.0.0":"2024-05-30T01:16:07.848Z"},"maintainers":[{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"}],"author":{"name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com","url":"github.com/dustinspecker"},"repository":{"type":"git","url":"git+https://github.com/dustinspecker/is-obj-prop.git"},"keywords":["js","javascript","object","property","types"],"license":"MIT","homepage":"https://github.com/dustinspecker/is-obj-prop#readme","bugs":{"url":"https://github.com/dustinspecker/is-obj-prop/issues"},"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","readmeFilename":"README.md"}