{"_id":"binwrap","_rev":"2740239","name":"binwrap","description":"Package cross-platform binaries","dist-tags":{"latest":"0.2.3","rc":"0.2.0-rc2"},"maintainers":[{"name":"npm:avh4","email":""}],"time":{"modified":"2022-01-28T15:56:57.000Z","created":"2017-04-02T00:08:05.803Z","0.2.3":"2021-02-05T00:38:04.443Z","0.2.2":"2019-08-07T16:43:20.466Z","0.2.1":"2019-05-09T04:44:55.861Z","0.2.0":"2018-08-18T20:07:07.134Z","0.2.0-rc2":"2018-06-05T23:56:06.589Z","0.2.0-rc1":"2018-06-02T04:54:08.748Z","0.1.4":"2017-04-02T01:09:53.553Z","0.1.3":"2017-04-02T01:02:01.398Z","0.1.2":"2017-04-02T00:47:38.503Z","0.1.1":"2017-04-02T00:21:39.412Z","0.1.0":"2017-04-02T00:08:05.803Z"},"users":{},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"versions":{"0.2.3":{"name":"binwrap","version":"0.2.3","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh && npm install ../) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","bin":{"binwrap-install":"bin/binwrap-install","binwrap-prepare":"bin/binwrap-prepare","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^4.3.0","child-process-promise":"^2.2.1","eslint":"^7.19.0","http-server":"^0.12.3","mocha":"^8.2.1"},"dependencies":{"request":"^2.88.0","tar":"^6.1.0","unzip-stream":"^0.3.1"},"gitHead":"91461778fceb04b8ccda59d0a28eddbec8f423f2","_id":"binwrap@0.2.3","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"87c4e46fa022e2c78b8380e6dd465973bfc7fbca","size":4441,"noattachment":false,"key":"/binwrap/-/binwrap-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.2.3.tgz"},"_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"directories":{},"maintainers":[{"name":"npm:avh4","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binwrap_0.2.3_1612485484289_0.9400434535414879"},"_hasShrinkwrap":false,"publish_time":1612485484443,"_cnpm_publish_time":1612485484443},"0.2.2":{"name":"binwrap","version":"0.2.2","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","bin":{"binwrap-install":"bin/binwrap-install","binwrap-prepare":"bin/binwrap-prepare","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^4.2.0","child-process-promise":"^2.2.1","eslint":"^6.0.1","http-server":"^0.11.1","mocha":"^6.2.0"},"dependencies":{"mustache":"^3.0.1","request":"^2.88.0","request-promise":"^4.2.4","tar":"^4.4.10","unzip-stream":"^0.3.0"},"gitHead":"de5791842d7617ae21f634e26c9b8bfe58064c31","_id":"binwrap@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"7d1ea74b28332f18dfdc75548aef993041ffafc9","size":4309,"noattachment":false,"key":"/binwrap/-/binwrap-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.2.2.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binwrap_0.2.2_1565196200267_0.36194439533388256"},"_hasShrinkwrap":false,"publish_time":1565196200466,"_cnpm_publish_time":1565196200466},"0.2.1":{"name":"binwrap","version":"0.2.1","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","bin":{"binwrap-install":"bin/binwrap-install","binwrap-prepare":"bin/binwrap-prepare","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.11.1","mocha":"^5.2.0"},"dependencies":{"mustache":"^2.3.0","request":"^2.87.0","request-promise":"^4.2.0","tar":"^4.4.8","unzip-stream":"^0.3.0"},"gitHead":"9f6efb70e24fc422d3a591f075f06b44c65160df","_id":"binwrap@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"d88467026170cb2776b9d47f002d3b4316aa9a87","size":4124,"noattachment":false,"key":"/binwrap/-/binwrap-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.2.1.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binwrap_0.2.1_1557377095716_0.23600138954155736"},"_hasShrinkwrap":false,"publish_time":1557377095861,"_cnpm_publish_time":1557377095861},"0.2.0":{"name":"binwrap","version":"0.2.0","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","prepare.js","test.js","binstall.js","binstub.js.mustache","bin/binwrap-install","bin/binwrap-prepare","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-prepare":"bin/binwrap-prepare","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.11.1","mocha":"^5.2.0"},"dependencies":{"mustache":"^2.3.0","request":"^2.87.0","request-promise":"^4.2.0","tar":"^2.2.1","unzip-stream":"^0.3.0"},"gitHead":"f919ea3b4db584043d9f42148b83cce40d94bf1c","_id":"binwrap@0.2.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"572d0f48c4e767d72d622f0b805ed7ce1db16f9a","size":4096,"noattachment":false,"key":"/binwrap/-/binwrap-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.2.0.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binwrap_0.2.0_1534622827029_0.1270802080276301"},"_hasShrinkwrap":false,"publish_time":1534622827134,"_cnpm_publish_time":1534622827134},"0.2.0-rc2":{"name":"binwrap","version":"0.2.0-rc2","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","prepare.js","test.js","binstall.js","binstub.js.mustache","bin/binwrap-install","bin/binwrap-prepare","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-prepare":"bin/binwrap-prepare","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"mustache":"^2.3.0","request":"^2.81.0","request-promise":"^4.2.0","tar":"^2.2.1","unzip-stream":"^0.3.0"},"readmeFilename":"README.md","gitHead":"5965d2a0d255c932f1f92ea0dc5325541769909d","_id":"binwrap@0.2.0-rc2","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"0b8c3ffee4dea1dbebe26dd6730735d414c9e877","size":3732,"noattachment":false,"key":"/binwrap/-/binwrap-0.2.0-rc2.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.2.0-rc2.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binwrap_0.2.0-rc2_1528242965953_0.4953478731424861"},"_hasShrinkwrap":false,"publish_time":1528242966589,"_cnpm_publish_time":1528242966589},"0.2.0-rc1":{"name":"binwrap","version":"0.2.0-rc1","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","prepare.js","test.js","binstall.js","binstub.js.mustache","bin/binwrap-install","bin/binwrap-prepare","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-prepare":"bin/binwrap-prepare","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"mustache":"^2.3.0","request":"^2.81.0","request-promise":"^4.2.0","tar":"^2.2.1","unzip-stream":"^0.3.0"},"readmeFilename":"README.md","gitHead":"4a812021f7031ee89c5ccaf5e7327ef913fa1405","_id":"binwrap@0.2.0-rc1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"c08935a07801333fac768dd33dbe151d9418b7d2","size":3661,"noattachment":false,"key":"/binwrap/-/binwrap-0.2.0-rc1.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.2.0-rc1.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/binwrap_0.2.0-rc1_1527915248659_0.7225119752192215"},"_hasShrinkwrap":false,"publish_time":1527915248748,"_cnpm_publish_time":1527915248748},"0.1.4":{"name":"binwrap","version":"0.1.4","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","test.js","binstall.js","bin/binwrap-install","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"request":"^2.81.0","request-promise":"^4.2.0","tar":"^2.2.1","unzip":"^0.1.11"},"gitHead":"dcc7117b5b26d013199932402b82e9ac603fafb8","_id":"binwrap@0.1.4","_shasum":"ca1f7870302212518fa24b07726f9c50a15c7559","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"ca1f7870302212518fa24b07726f9c50a15c7559","size":3209,"noattachment":false,"key":"/binwrap/-/binwrap-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.1.4.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/binwrap-0.1.4.tgz_1491095393269_0.12066798377782106"},"directories":{},"publish_time":1491095393553,"_hasShrinkwrap":false,"_cnpm_publish_time":1491095393553},"0.1.3":{"name":"binwrap","version":"0.1.3","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","test.js","binstall.js","bin/binwrap-install","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"request":"^2.81.0","request-promise":"^4.2.0","tar":"^2.2.1","unzip":"^0.1.11"},"gitHead":"e74d21b6b49430e2d8535f728938309f4f7c9c45","_id":"binwrap@0.1.3","_shasum":"b8efe3a133649f33b8e42ebdbfee7ef3b6b69e54","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"b8efe3a133649f33b8e42ebdbfee7ef3b6b69e54","size":3204,"noattachment":false,"key":"/binwrap/-/binwrap-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.1.3.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/binwrap-0.1.3.tgz_1491094921037_0.3330421135760844"},"directories":{},"publish_time":1491094921398,"_hasShrinkwrap":false,"_cnpm_publish_time":1491094921398},"0.1.2":{"name":"binwrap","version":"0.1.2","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","test.js","binstall.js","bin/binwrap-install","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"request":"^2.81.0","request-promise":"^4.2.0","tar":"^2.2.1","unzip":"^0.1.11"},"gitHead":"564f1e151aa2d5011bb0fff3cfb3b807f56782fc","_id":"binwrap@0.1.2","_shasum":"3d011954b8c8b4279f41973f1d397d45161b9d53","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"3d011954b8c8b4279f41973f1d397d45161b9d53","size":3205,"noattachment":false,"key":"/binwrap/-/binwrap-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.1.2.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/binwrap-0.1.2.tgz_1491094058214_0.5254080689046532"},"directories":{},"publish_time":1491094058503,"_hasShrinkwrap":false,"_cnpm_publish_time":1491094058503},"0.1.1":{"name":"binwrap","version":"0.1.1","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["install.js","test.js","binstall.js","bin/binwrap-install","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"request":"^2.81.0","tar":"^2.2.1","then-request":"^2.2.0","unzip":"^0.1.11"},"gitHead":"f4657ff94a89255df05650faa69902b5f950f0db","_id":"binwrap@0.1.1","_shasum":"7dc4d1896313e1a651b1f1dfc877ca4d472dc6e4","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"7dc4d1896313e1a651b1f1dfc877ca4d472dc6e4","size":3140,"noattachment":false,"key":"/binwrap/-/binwrap-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.1.1.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/binwrap-0.1.1.tgz_1491092497501_0.5029298420995474"},"directories":{},"publish_time":1491092499412,"_hasShrinkwrap":false,"_cnpm_publish_time":1491092499412},"0.1.0":{"name":"binwrap","version":"0.1.0","description":"Package cross-platform binaries","main":"index.js","scripts":{"test":"(cd test_app && ./build_packages.sh) && mocha && eslint ."},"repository":{"type":"git","url":"git+https://github.com/avh4/binwrap.git"},"author":{"name":"Aaron VonderHaar","email":"gruen0aermel@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"homepage":"https://github.com/avh4/binwrap#readme","files":["bin/binwrap-install","bin/binwrap-test"],"bin":{"binwrap-install":"bin/binwrap-install","binwrap-test":"bin/binwrap-test"},"devDependencies":{"chai":"^3.5.0","child-process-promise":"^2.2.1","eslint":"^3.19.0","http-server":"^0.9.0","mocha":"^3.2.0"},"dependencies":{"request":"^2.81.0","tar":"^2.2.1","then-request":"^2.2.0","unzip":"^0.1.11"},"gitHead":"75534dd800e2db788fd807b59141c0f14cb15b1b","_id":"binwrap@0.1.0","_shasum":"8a0c52f3cf4b8f0de87d9c3c0a636a8b2e43250c","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"avh4","email":"gruen0aermel@gmail.com"},"dist":{"shasum":"8a0c52f3cf4b8f0de87d9c3c0a636a8b2e43250c","size":1619,"noattachment":false,"key":"/binwrap/-/binwrap-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/binwrap/download/binwrap-0.1.0.tgz"},"maintainers":[{"name":"npm:avh4","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/binwrap-0.1.0.tgz_1491091683735_0.6956396764144301"},"directories":{},"publish_time":1491091685803,"_hasShrinkwrap":false,"_cnpm_publish_time":1491091685803}},"readme":"[![Build Status](https://travis-ci.org/avh4/binwrap.svg?branch=master)](https://travis-ci.org/avh4/binwrap) [![npm](https://img.shields.io/npm/v/binwrap.svg)](https://www.npmjs.com/package/binwrap)\n\nThis package helps with distributing binaries via npm.\n\n## Usage\n\nFirst, create your compiled binaries and make them available via HTTPS.\n\nNow create your npm installer: Make a `package.json` that looks like this:\n\n```json\n{\n  \"name\": \"myApp\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Install myApp\",\n  \"preferGlobal\": true,\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"install\": \"binwrap-install\",\n    \"prepare\": \"binwrap-prepare\",\n    \"test\": \"binwrap-test\",\n    \"prepublish\": \"npm test\"\n  },\n  \"license\": \"BSD-3-Clause\",\n  \"files\": [\n    \"index.js\",\n    \"bin\"\n  ],\n  \"bin\": {\n    \"myapp-cli\": \"bin/myapp-cli\"\n  },\n  \"dependencies\": {\n    \"binwrap\": \"^0.2.3\"\n  }\n}\n```\n\nThen create your `index.js` file like this:\n\n```javascript\nvar binwrap = require(\"binwrap\");\nvar path = require(\"path\");\n\nvar packageInfo = require(path.join(__dirname, \"package.json\"));\nvar version = packageInfo.version;\nvar root = \"https://dl.bintray.com/me/myApp/\" + version;\n\nmodule.exports = binwrap({\n  dirname: __dirname,\n  binaries: [\n    \"myapp-cli\"\n  ],\n  urls: {\n    \"darwin-x64\": root + \"/mac-x64.tgz\",\n    \"linux-x64\": root + \"/linux-x64.tgz\",\n    \"win32-x64\": root + \"/win-i386.zip\",\n    \"win32-ia32\": root + \"/win-i386.zip\"\n  }\n});\n```\n\nThen run `npm test` to verify that your packages are published correctly.\n\nFinally, run `npm publish` when you are ready to publish your installer.\n\n\n## Javascript API\n\nJavascript code can get the absolute path to a binary from a package that uses binwrap\nas follows (in this example, \"my-package\" is a published npm package that uses binwrap,\nand has a `my-package-cli` binary):\n\n```js\nconst cliPath = require('my-package').paths['my-package-cli'];\n```\n","_attachments":{},"homepage":"https://github.com/avh4/binwrap#readme","bugs":{"url":"https://github.com/avh4/binwrap/issues"},"license":"MIT"}