{"name":"has-own-property-x","version":"3.0.0","description":"Used to determine whether an object has an own property with the specified property key.","homepage":"https://github.com/Xotic750/has-own-property-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015-2017","keywords":["object","hasOwnProperty","module","javascript","nodejs","browser"],"main":"index.js","engines":{"node":"*"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Xotic750/has-own-property-x.git"},"bugs":{"url":"https://github.com/Xotic750/has-own-property-x/issues"},"dependencies":{"to-object-x":"^1.4.0","to-property-key-x":"^2.0.0"},"devDependencies":{"@xotic750/eslint-config-standard-x":"^2.2.1","browserify":"^14.4.0","browserify-derequire":"^0.9.4","cross-env":"^5.0.1","es5-shim":"^4.5.9","es6-shim":"^0.35.3","es7-shim":"^6.0.0","eslint":"^4.2.0","eslint-plugin-compat":"^1.0.4","eslint-plugin-css-modules":"^2.7.2","eslint-plugin-eslint-comments":"^1.0.2","eslint-plugin-jsdoc":"^3.1.1","eslint-plugin-json":"^1.2.0","eslint-plugin-no-use-extend-native":"^0.3.12","husky":"^0.13.4","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^3.0.0","json3":"^3.3.2","make-jasmine-spec-runner-html":"^1.3.0","ncp":"^2.0.0","nodemon":"^1.11.0","nsp":"^2.6.3","parallelshell":"^3.0.1","replace-x":"^1.5.0","rimraf":"^2.6.1","serve":"^6.0.2","uglify-js":"^3.0.24"},"scripts":{"clean":"rimraf README.md lib/*","clean:jasmine":"rimraf tests/index.html tests/run.js","clean:all":"npm run clean:jasmine && npm run clean","build":"npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security","build:jasmine":"npm run clean:jasmine && make-jasmine-spec-runner-html","build:setver":"replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js","build:name":"replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js","build:description":"replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js","build:replace":"npm run build:setver && npm run build:name && npm run build:description","production":"npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build","start":"parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"","docs:name":"replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md","docs:badges":"ncp badges.html README.md && npm run docs:name","docs":"npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md","lint":"eslint *.js tests/spec/*.js","lint-fix":"npm run lint -- --fix","security":"nsp check","test":"jasmine-node --matchall tests/spec/","browserify":"browserify -p browserify-derequire -e index.js -o lib/has-own-property-x.js -u 'crypto' -s returnExports","uglify":"uglifyjs lib/has-own-property-x.js -o lib/has-own-property-x.min.js --config-file .uglifyjsrc.json","precommit":"npm run production","prepush":"npm run production"},"gitHead":"6b096d598b4305e1756b5861cedd134ad76d46d1","_id":"has-own-property-x@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"6.11.2","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"integrity":"sha512-v7OZrmjSV+WLklJmFhno12O0rPh623wPiVKIHkDOrKSivye1Tw4T4dPoIv5sHgN/gh21q4KDOnYtsI1JzhaRIg==","shasum":"4627ae5500d8432878eb86ff9120f7cecd021941","tarball":"http://registry-npm.ywwl.com/has-own-property-x/download/has-own-property-x-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzbkTONzl6XiKVKacPjfyRZlJ0cdO42tJukqSHur8qvQIhAImAD0tMDm0UOdFnWLbnHbTSDyM4f6sOzvZOzybD3iA+"}],"size":18357,"noattachment":false,"key":"/has-own-property-x/-/has-own-property-x-3.0.0.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-own-property-x-3.0.0.tgz_1504099899519_0.6598777810577303"},"directories":{},"readme":"<a\n  href=\"https://travis-ci.org/Xotic750/has-own-property-x\"\n  title=\"Travis status\">\n<img\n  src=\"https://travis-ci.org/Xotic750/has-own-property-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\">\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/has-own-property-x\"\n  title=\"Dependency status\">\n<img src=\"https://david-dm.org/Xotic750/has-own-property-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/has-own-property-x?type=dev\"\n  title=\"devDependency status\">\n<img src=\"https://david-dm.org/Xotic750/has-own-property-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://badge.fury.io/js/has-own-property-x\"\n  title=\"npm version\">\n<img src=\"https://badge.fury.io/js/has-own-property-x.svg\"\n  alt=\"npm version\" height=\"18\">\n</a>\n<a\n  href=\"https://www.jsdelivr.com/package/npm/has-own-property-x\"\n  title=\"jsDelivr hits\">\n<img src=\"https://data.jsdelivr.com/v1/package/npm/has-own-property-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\">\n</a>\n<a\n  href=\"https://bettercodehub.com/results/Xotic750/has-own-property-x\"\n  title=\"bettercodehub score\">\n<img src=\"https://bettercodehub.com/edge/badge/Xotic750/has-own-property-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\">\n</a>\n<a\n  href=\"https://coveralls.io/github/Xotic750/has-own-property-x?branch=master\"\n  title=\"Coverage Status\">\n<img src=\"https://coveralls.io/repos/github/Xotic750/has-own-property-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\">\n</a>\n\n<a name=\"module_has-own-property-x\"></a>\n\n## has-own-property-x\n\nUsed to determine whether an object has an own property with the specified property key.\n\n<a name=\"exp_module_has-own-property-x--module.exports\"></a>\n\n### `module.exports(object, property)` ⇒ <code>boolean</code> ⏏\n\nThe `hasOwnProperty` method returns a boolean indicating whether\nthe `object` has the specified `property`. Does not attempt to fix known\nissues in older browsers, but does ES6ify the method.\n\n**Kind**: Exported function  \n**Returns**: <code>boolean</code> - `true` if the property is set on `object`, else `false`.  \n**Throws**:\n\n- <code>TypeError</code> If object is null or undefined.\n\n| Param    | Type                                       | Description                                 |\n| -------- | ------------------------------------------ | ------------------------------------------- |\n| object   | <code>Object</code>                        | The object to test.                         |\n| property | <code>string</code> \\| <code>Symbol</code> | The name or Symbol of the property to test. |\n\n**Example**\n\n```js\nimport hasOwnProperty from 'has-own-property-x';\n\nconst o = {\n  foo: 'bar',\n};\n\nconsole.log(hasOwnProperty(o, 'bar')); // false\nconsole.log(hasOwnProperty(o, 'foo')); // true\nhasOwnProperty(undefined, 'foo'); // TypeError: Cannot convert undefined or null to object\n```\n","publish_time":1504099901149,"_cnpm_publish_time":1504099901149,"dist-tags":{"latest":"4.1.2"}}