{"_id":"which-native-nodish","_rev":"18-aa5b98cce0e7e73a66dc02113d2620b7","name":"which-native-nodish","description":"Find out if your module or directory is contained in a node-webkit or atom-shell project","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"which-native-nodish","version":"1.0.0","description":"Find out if your module or directory is contained in a node-webkit project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"c67173c3c5ce6fcfd233dad1715a45e1fc01762e","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.0.0","scripts":{},"_shasum":"26ff3de3a93d7ad87351857273826069bbc52139","_from":".","_npmVersion":"2.1.18","_nodeVersion":"1.0.2","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"26ff3de3a93d7ad87351857273826069bbc52139","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.0.0.tgz","integrity":"sha512-h51FMFVkklrh6wRsDcf1aArZt8+8Sr5SolnJAuqbRIqvxdE2iaRystO+k2xBefNxN4uLBdt8FFmj+Hkvh/0G2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU/ZzMcu0MHhwAXitO+nUWtP0SeGayaSE4QbxzA8zN/QIhAIyUvj3mH6vNT9/k99qv4UzElaf1S6vB3JvsbBO8d1B0"}]},"deprecated":"critical bug"},"1.0.1":{"name":"which-native-nodish","version":"1.0.1","description":"Find out if your module or directory is contained in a node-webkit project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"3ddd46b93d2f7b7e98fcbd9936622822d410dde4","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.0.1","scripts":{},"_shasum":"42f2b02e61e91df4ce8ab14dd7b6e549104b2c46","_from":".","_npmVersion":"2.1.18","_nodeVersion":"1.0.2","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"42f2b02e61e91df4ce8ab14dd7b6e549104b2c46","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.0.1.tgz","integrity":"sha512-0qLuQhxf7ALVFtt0kIzckYtXsEAKMoDYzJRhlSb69LYF9VYYmqNuiABeizQTqHpy66VkYfS5JQo+e5XwMMWOcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2bd+Oj2WQCuKJ8EOy/VgHzbnjZw5c4mzpXTFX4JM6kQIhAOm8uBexOtS6yaowPcGVSvmv9Z2GSxG5O3Z6HCEBmcKK"}]}},"1.0.2":{"name":"which-native-nodish","version":"1.0.2","description":"Find out if your module or directory is contained in a node-webkit project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"63e3ed5c0569e63077f07de31fb120211e2f8d28","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.0.2","scripts":{},"_shasum":"e1b6d85edd828f805b93e299f65759a8814a237e","_from":".","_npmVersion":"2.1.18","_nodeVersion":"1.0.2","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"e1b6d85edd828f805b93e299f65759a8814a237e","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.0.2.tgz","integrity":"sha512-o2WnLMv6d1j71E7O4nevJLxpIK7SgpyPRuq/tBx9zW1+HRBvCJ0pyNkiZ+L419brSclcCk4ux2jz3fVJA/bGcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLFiS8cTs1v9R4N2+iDVJ8A/U3WdqM34O/eIdvrbhRzAIhAKFowS+Jb73fBpDW1C+r4WfLgWcf48kSC9MMXyL/Sps+"}]},"deprecated":"error with cli regarding atom"},"1.0.3":{"name":"which-native-nodish","version":"1.0.3","description":"Find out if your module or directory is contained in a node-webkit project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"cc54225e5f3311c3f272781536aa9005165a21cd","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.0.3","scripts":{},"_shasum":"12c63a7cf32abf02b8c418b65fde83fd09c75216","_from":".","_npmVersion":"2.1.18","_nodeVersion":"1.0.2","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"12c63a7cf32abf02b8c418b65fde83fd09c75216","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.0.3.tgz","integrity":"sha512-M6dHzglRx9S7XuTrY7Fj9eqONvGPV2CyJzZfO2Mvcw3hT0iAynQEshpZyi2AAExkw82D4Pr/y5tKo2LY1T5FKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETLQsvapubNaDrbmFznvy7pFDHCwhnVWkqIoDGe3o8BAiEAhwEaqxO8fU4AN/5PGuwR8IXToUNt56oJhtY8tIiJdvg="}]}},"1.1.0":{"name":"which-native-nodish","version":"1.1.0","description":"Find out if your module or directory is contained in a node-webkit project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"1c25a343f56bc8e8cc9a7aecb396836b159a6b15","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.1.0","scripts":{},"_shasum":"12e9efef7abbd431a385fb7ccf459007437efc0f","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"12e9efef7abbd431a385fb7ccf459007437efc0f","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.1.0.tgz","integrity":"sha512-zTF6aRo5NGBzshGqdcZQJV0gM86xiFiLDUWbDELjs8jMI1JuzYxU1aES5BG+VQhpDenZFjzUWiGMo4lA5xwWBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5qrtgJbpueKRXCLpq9BAJU8mCiGPJyX0D6gwbYmmqAAiB2b96v2A7UhSmqOCR5sW6KFZ3Ulzv3T29xPxXnXd0iAw=="}]}},"1.1.1":{"name":"which-native-nodish","version":"1.1.1","description":"Find out if your module or directory is contained in a node-webkit or atom-shell project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"b366ce013430e9f3ff757713eb773775a431507f","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.1.1","scripts":{},"_shasum":"f80bdd698f78c86ff9d9fbe208124cfbf1230a3f","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"f80bdd698f78c86ff9d9fbe208124cfbf1230a3f","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.1.1.tgz","integrity":"sha512-Btc446qMQ5MDKwj8/hPUvpCvVthCvGKdUFIb9nL4K5iKonBo+HiawTrkZcx4kSf7XgYWDhgFcKI2YUOXugcybw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWZyW55sGd7rFMrlFtl9kRJ4JEXqoHbEoAmVZ5K0KQ9wIgHiKxXHGRNqJSY1jMoTjKjyAJiN3gdSF/mnSCxqGq2Bc="}]}},"1.1.2":{"name":"which-native-nodish","version":"1.1.2","description":"Find out if your module or directory is contained in a node-webkit or atom-shell project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"a39ed323324d94e2cd5f6e71581744d1d56eaa18","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.1.2","scripts":{},"_shasum":"c5c298d5984122984b1782f62fd7da3206298e6b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"c5c298d5984122984b1782f62fd7da3206298e6b","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.1.2.tgz","integrity":"sha512-muu8MxIeGNS5Snkn0WA2ZRs9NEMmU5BH3QmDBnQcd4v9YEGNLmK6IkH58uVjAhGteAJP3HXtlDh7WyeXZQqxqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvbiD1whU6OcpqqbFK4Q4TjG5x7TwWK6QwDba9kIXNzAiAFhc6MokND5GO3cydydsgnoDwa8F4ZU7N/jCmbeo8icQ=="}]}},"1.1.3":{"name":"which-native-nodish","version":"1.1.3","description":"Find out if your module or directory is contained in a node-webkit or atom-shell project","main":"index.js","bin":{"which-native-nodish":"bin/cmd.js"},"dependencies":{"find-parent-dir":"^0.3.0","nodegit-promise":"^1.0.0"},"repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"license":"MIT","bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"gitHead":"1c54b9c98baed6edc7d2893816b25c33dee2b056","homepage":"https://github.com/maxkorp/which-native-nodish","_id":"which-native-nodish@1.1.3","scripts":{},"_shasum":"8f4535a6727e955c2180a820716e7d5460b4dbdb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"},"maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"dist":{"shasum":"8f4535a6727e955c2180a820716e7d5460b4dbdb","tarball":"https://registry.npmjs.org/which-native-nodish/-/which-native-nodish-1.1.3.tgz","integrity":"sha512-K+7PV5m68UuYdeGSvpmaUmq+BiBcQZ42Weepp2uAdONAMfSoQYJmXjwKvg1b3n6uHqhT0qsj15z7LnvDJmeMVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBaZ0T6xvUQg/ho8F9Ao09zF5j4HBBel3qgqPKGYSvB2AiA2i5MlFmXxcjYuJdPbwnHK7LwmF2s6u/UvCHX3HQs+DQ=="}]}}},"readme":"which-native-nodish\n=============\n\nFormerly for-node-webkit.\n\nwhich-native-nodish is a tool for detecting if a given directory or package is\ncontained within a node-webkit/nw.js or atom-shell project, particularly useful for build time applications in native modules, where `nw-gyp` must be used instead of `node-gyp` for nw.js, or a series of flags must be passed for atom-shell.\nIt works by finding the root most package.json from the specified directory, and checking it's `engines` property for `node-webkit` or `nw.js` and `atom-shell` properties.\n\n##Commandline usage:\nSpecify the directory to check against (which-native-nodish will search it's immediate parent and up), or if unspecified, it defaults to the current working directory.\n```\nwhich-native-nodish \"./mydir/someprojectiwanttoknowabout\"\nwhich-native-nodish\n```\n\n##Module usage:\nThe module returns a function that returns a promise, resolving with\n3 properties: `root`, `nwVersion` and `asVersion`.\n\nTo find out if the current module resides in a node webkit project:\n```\n  var wnn = require('which-native-nodish');\n  wnn(__dirname).then(function(results) {\n    if (!results.root) {\n      // Couldnt find a parent module\n    }\n    else if (results.nwVersion) {\n      // nwVersion is the version of node-webkit/nw.js\n    }\n    else if (results.asVersion) {\n      // asVersion is the version of atom-shell\n    }\n    else {\n      // Root module doesnt use node webkit or atom-shell \n    }\n  });\n```\n","maintainers":[{"name":"maxkorp","email":"maxkorp@8bytealchemy.com"}],"time":{"modified":"2022-06-29T01:28:52.666Z","created":"2015-01-26T23:37:58.304Z","1.0.0":"2015-01-26T23:37:58.304Z","1.0.1":"2015-01-27T01:13:00.195Z","1.0.2":"2015-01-27T01:16:34.524Z","1.0.3":"2015-01-27T01:17:27.687Z","1.1.0":"2015-03-16T17:55:42.439Z","1.1.1":"2015-03-16T17:57:27.491Z","1.1.2":"2015-08-04T17:27:19.540Z","1.1.3":"2015-08-10T23:07:20.721Z"},"homepage":"https://github.com/maxkorp/which-native-nodish","repository":{"type":"git","url":"http://github.com/maxkorp/which-native-nodish.git"},"author":{"name":"Maximiliano Korp"},"bugs":{"url":"https://github.com/maxkorp/which-native-nodish/issues"},"license":"MIT","readmeFilename":"README.md"}