{"_id":"is-get-set-prop","_rev":"3337851","name":"is-get-set-prop","description":"Does a JS type have a getter/setter property","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"dustinspecker","email":""}],"time":{"modified":"2024-07-10T08:07:59.000Z","created":"2015-11-01T15:46:10.871Z","2.0.0":"2024-06-03T00:53:19.104Z","1.0.0":"2015-11-01T15:46:10.871Z"},"users":{"rocket0191":true},"author":{"name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com","url":"github.com/dustinspecker"},"repository":{"type":"git","url":"git+https://github.com/dustinspecker/is-get-set-prop.git"},"versions":{"2.0.0":{"name":"is-get-set-prop","version":"2.0.0","description":"Does a JS type have a getter/setter property","main":"src/index.js","scripts":{"lint":"eslint .","test":"npm run lint && c8 ava"},"repository":{"type":"git","url":"git+https://github.com/dustinspecker/is-get-set-prop.git"},"keywords":["js","javascript","getter","get","setter","set","types"],"author":{"name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com","url":"github.com/dustinspecker"},"type":"module","engines":{"node":"> 18.0.0"},"license":"MIT","dependencies":{"get-set-props":"^0.2.0","lowercase-keys":"^3.0.0"},"devDependencies":{"@eslint/js":"^9.4.0","ava":"^6.1.3","c8":"^9.1.0","eslint":"^9.4.0","globals":"^15.3.0","gulp-if":"^2.0.0"},"c8":{"reporter":["lcov","text"]},"_id":"is-get-set-prop@2.0.0","gitHead":"800824b8b906b719f65f4fb0f46ff8be6356e7f5","bugs":{"url":"https://github.com/dustinspecker/is-get-set-prop/issues"},"homepage":"https://github.com/dustinspecker/is-get-set-prop#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"shasum":"76c288b572c329af0a7cb1417f7d5480c1579cd4","size":1934,"noattachment":false,"key":"/is-get-set-prop/-/is-get-set-prop-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-get-set-prop/download/is-get-set-prop-2.0.0.tgz"},"_npmUser":{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"},"directories":{},"maintainers":[{"name":"dustinspecker","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-get-set-prop_2.0.0_1717375998945_0.9339459190393908"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-03T00:53:19.104Z","publish_time":1717375999104,"_source_registry_name":"default","_cnpm_publish_time":1717375999104},"1.0.0":{"name":"is-get-set-prop","version":"1.0.0","description":"Does a JS type have a getter/setter property","main":"lib/index.js","scripts":{"test":"gulp test","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git+https://github.com/dustinspecker/is-get-set-prop.git"},"keywords":["js","javascript","getter","get","setter","set","types"],"author":{"name":"Dustin Specker","email":"DustinSpecker@DustinSpecker.com","url":"github.com/dustinspecker"},"license":"MIT","files":["lib"],"dependencies":{"get-set-props":"^0.1.0","lowercase-keys":"^1.0.0"},"devDependencies":{"babel-core":"^6.0.12","babel-eslint":"^4.1.3","babel-preset-es2015":"^6.0.12","chai":"^3.0.0","coveralls":"^2.11.2","del":"^2.0.0","eslint-config-dustinspecker":"^0.1.0","eslint-path-formatter":"^0.1.1","eslint-plugin-no-use-extend-native":"^0.1.4","gulp":"^3.9.0","gulp-alex":"^1.0.0","gulp-babel":"^6.0.0","gulp-eslint":"^1.0.0","gulp-if":"^2.0.0","gulp-istanbul":"^0.10.0","gulp-jscs":"^3.0.0","gulp-jshint":"^1.11.0","gulp-mocha":"^2.1.0","gulp-plumber":"^1.0.1"},"gitHead":"c19947204fb6f02a5083cd33a803766ad8e4e4c3","bugs":{"url":"https://github.com/dustinspecker/is-get-set-prop/issues"},"homepage":"https://github.com/dustinspecker/is-get-set-prop#readme","_id":"is-get-set-prop@1.0.0","_shasum":"2731877e4d78a6a69edcce6bb9d68b0779e76312","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"dustinspecker","email":"DustinSpecker@DustinSpecker.com"},"dist":{"shasum":"2731877e4d78a6a69edcce6bb9d68b0779e76312","size":2282,"noattachment":false,"key":"/is-get-set-prop/-/is-get-set-prop-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-get-set-prop/download/is-get-set-prop-1.0.0.tgz"},"maintainers":[{"name":"dustinspecker","email":""}],"directories":{},"publish_time":1446392770871,"_cnpm_publish_time":1446392770871,"_hasShrinkwrap":false}},"readme":"# is-get-set-prop\n[![NPM version](https://badge.fury.io/js/is-get-set-prop.svg)](https://badge.fury.io/js/is-get-set-prop) [![Coverage Status](https://img.shields.io/coveralls/dustinspecker/is-get-set-prop.svg)](https://coveralls.io/r/dustinspecker/is-get-set-prop?branch=main)\n\n[![Code Climate](https://codeclimate.com/github/dustinspecker/is-get-set-prop/badges/gpa.svg)](https://codeclimate.com/github/dustinspecker/is-get-set-prop)\n\n> Does a JS type have a getter/setter property\n\n## Install\n```\nnpm install --save is-get-set-prop\n```\n\n## Usage\n### ES2015\n```javascript\nimport isGetSetProp from 'is-get-set-prop';\n\nisGetSetProp('array', 'length');\n// => true\n\nisGetSetProp('ARRAY', 'push');\n// => false\n\n// is-get-set-prop can only verify native JS types\nisGetSetProp('gulp', 'task');\n// => false;\n```\n\n## API\n### isGetSetProp(type, propertyName)\n#### type\nType: `string`\n\nA native JS type to examine. Note: `is-get-set-prop` can only verify native JS types.\n\n#### propertyName\nType: `string`\n\nProperty name to determine if a getter/setter of `type`.\n\n## LICENSE\nMIT © [Dustin Specker](https://github.com/dustinspecker)\n","_attachments":{},"homepage":"https://github.com/dustinspecker/is-get-set-prop#readme","bugs":{"url":"https://github.com/dustinspecker/is-get-set-prop/issues"},"license":"MIT"}