{"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":"http://registry-npm.ywwl.com/is-obj-prop/download/is-obj-prop-1.0.0.tgz","integrity":"sha512-5Idb61slRlJlsAzi0Wsfwbp+zZY+9LXKUAZpvT/1ySw+NxKLRWfa0Bzj+wXI3fX5O9hiddm5c3DAaRSNP/yl2w==","signatures":[{"sig":"MEYCIQCDFi7CToVuyPikgmJ92gdJMLEV1mKax2JVFzIJjeGGoQIhAPnMb/GURdiPygHAvN6Afau3hSvx0f2JMQZizrO99YVA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1698,"noattachment":false,"key":"/is-obj-prop/-/is-obj-prop-1.0.0.tgz"},"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":{},"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":1475363196230,"_cnpm_publish_time":1475363196230,"dist-tags":{"latest":"2.0.0"}}