{"name":"has-own-property-x","version":"1.1.1","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":["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.1.0","es-to-primitive":"^1.1.1","safe-to-string-x":"^1.2.0"},"devDependencies":{"@ljharb/eslint-config":"^11.0.0","browserify":"^14.1.0","browserify-derequire":"^0.9.4","es5-shim":"^4.5.9","es6-shim":"^0.35.3","es7-shim":"^6.0.0","eslint":"^3.18.0","eslint-plugin-import":"^2.2.0","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^3.0.0","json3":"^3.3.2","make-jasmine-spec-runner-html":"^1.0.4","nodemon":"^1.11.0","nsp":"^2.6.3","replace-x":"^1.0.0","uglify-js":"^2.8.16"},"scripts":{"build":"npm run build:setver && npm run security && npm run eslint && npm run browserify && npm run uglify && npm run docs && npm run build:jasmine && npm test","build:jasmine":"make-jasmine-spec-runner-html","build:setver":"PKG_VER=$(node -p -e \"require('./package.json').version\") && replace-x \" @version .*\" \" @version ${PKG_VER}\" index.js","build:watch":"nodemon --watch index.js --watch package.json --exec 'npm run build'","docs":"jsdoc2md --name-format --example-lang js index.js > README.md","eslint":"eslint *.js tests/spec/*.js","security":"nsp check","test":"jasmine-node --matchall tests/spec/","test:watch":"nodemon --watch tests/spec/test.js --exec 'npm test'","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 --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/has-own-property-x.map"},"gitHead":"4278c8de0f2b807d0692343efc2c975be0aed22f","_id":"has-own-property-x@1.1.1","_shasum":"457b8cf6d2cb79252557899c10f95d1a6bb2289d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"shasum":"457b8cf6d2cb79252557899c10f95d1a6bb2289d","tarball":"http://registry-npm.ywwl.com/has-own-property-x/download/has-own-property-x-1.1.1.tgz","integrity":"sha512-JfJ7784JfVa4EshOn7hZ/JXujjVDDU+3/HetHSPFuyvri25YlcvfwspjE6Mc7Z6F/GWryc+hsizZVW+nBLVVGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAS6gH36XI4ECM9FvBtNUNqkyyVN3GnU0dsHEZh2e3wZAiEA5uyOWogo3F0MqvKfXtW3rLsPo51KNlJkvcZzYZBbNNc="}],"size":12690,"noattachment":false,"key":"/has-own-property-x/-/has-own-property-x-1.1.1.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/has-own-property-x-1.1.1.tgz_1490613573362_0.34744897671043873"},"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":1490613575273,"_cnpm_publish_time":1490613575273,"dist-tags":{"latest":"4.1.2"}}