{"_id":"@mole-inc/bin-wrapper","_rev":"3018377","name":"@mole-inc/bin-wrapper","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","dist-tags":{"latest":"8.0.1"},"maintainers":[{"name":"aaharu","email":""}],"time":{"modified":"2023-11-06T02:36:28.000Z","created":"2020-04-15T11:53:31.336Z","8.0.1":"2022-12-08T14:49:03.013Z","8.0.0":"2022-03-01T12:26:19.447Z","7.1.1":"2021-12-04T12:29:44.711Z","7.1.0":"2021-12-04T11:18:47.665Z","7.0.0":"2021-06-29T13:51:08.385Z","6.0.1":"2020-04-24T09:02:43.555Z","6.0.0":"2020-04-17T15:25:20.221Z","5.0.0":"2020-04-15T11:53:31.336Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"versions":{"8.0.1":{"name":"@mole-inc/bin-wrapper","version":"8.0.1","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","type":"module","exports":{"import":"./index.js","require":"./index.cjs"},"repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && c8 ava","build":"rollup -c","coverage":"c8 report --reporter lcov","prerelease":"pnpm run build","release":"standard-version","prepare":"husky install"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^5.0.0","content-disposition":"^0.5.4","ext-name":"^5.0.0","file-type":"^17.1.6","filenamify":"^5.0.2","got":"^11.8.5","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@rollup/plugin-alias":"^3.1.9","@rollup/plugin-commonjs":"^22.0.0-13","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","ava":"^4.0.1","c8":"^7.11.0","eslint-import-resolver-webpack":"^0.13.2","executable":"^4.1.1","husky":"^8.0.2","nock":"^13.2.4","path-exists":"^5.0.0","rimraf":"^3.0.2","rollup":"^2.68.0","standard-version":"latest","tempy":"^2.0.0","xo":"^0.48.0"},"xo":{"rules":{"unicorn/prefer-node-protocol":"off"}},"gitHead":"10beeb64d8c153bad4fe69b503de628f101047df","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@8.0.1","_nodeVersion":"18.12.1","_npmVersion":"9.1.2","dist":{"shasum":"d7fd0ceb1cfa8a855293a3ed9d7d135f4d442f0e","size":185288,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-8.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-8.0.1.tgz"},"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"maintainers":[{"name":"aaharu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_8.0.1_1670510942803_0.876356987070519"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-08T15:31:42.444Z","publish_time":1670510943013,"_cnpm_publish_time":1670510943013},"8.0.0":{"name":"@mole-inc/bin-wrapper","version":"8.0.0","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","type":"module","exports":{"import":"./index.js","require":"./index.cjs"},"repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && c8 ava","build":"rollup -c","coverage":"c8 report --reporter lcov","prerelease":"pnpm run build","release":"standard-version","prepare":"husky install"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^5.0.0","content-disposition":"^0.5.4","ext-name":"^5.0.0","file-type":"~17.0.0","filenamify":"^5.0.2","got":"^11.8.3","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@rollup/plugin-alias":"^3.1.9","@rollup/plugin-commonjs":"^22.0.0-13","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","ava":"^4.0.1","c8":"^7.11.0","eslint-import-resolver-webpack":"^0.13.2","executable":"^4.1.1","husky":"^7.0.4","nock":"^13.2.4","path-exists":"^5.0.0","rimraf":"^3.0.2","rollup":"^2.68.0","standard-version":"latest","tempy":"^2.0.0","xo":"^0.48.0"},"xo":{"rules":{"unicorn/prefer-node-protocol":"off"}},"gitHead":"78edd3f07f6460578f040caece3cfd6e7c7af79d","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@8.0.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"cdd11d044b3ebd4ceac21aabd6c5ba1de2dfc648","size":187330,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-8.0.0.tgz"},"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"maintainers":[{"name":"aaharu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_8.0.0_1646137579247_0.1705658088061428"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-01T12:26:26.839Z","publish_time":1646137579447,"_cnpm_publish_time":1646137579447},"7.1.1":{"name":"@mole-inc/bin-wrapper","version":"7.1.1","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","type":"module","exports":{"import":"./index.js","require":"./index.cjs"},"repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && c8 ava","build":"rollup -c","coverage":"c8 report --reporter lcov","prerelease":"pnpm run build","release":"standard-version","prepare":"husky install"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^5.0.0","content-disposition":"^0.5.3","decompress":"^4.2.1","ext-name":"^5.0.0","file-type":"^17.0.0","filenamify":"^5.0.2","got":"^10.7.0","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@rollup/plugin-alias":"^3.1.8","@rollup/plugin-commonjs":"^22.0.0-1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","ava":"^3.15.0","c8":"^7.10.0","eslint-import-resolver-webpack":"^0.13.2","executable":"^4.1.1","husky":"^7.0.4","nock":"^13.2.1","path-exists":"^5.0.0","rimraf":"^3.0.2","rollup":"^2.60.2","standard-version":"latest","tempy":"^2.0.0","xo":"0.47.0"},"xo":{"rules":{"unicorn/prefer-node-protocol":"off"}},"gitHead":"99d73e2a49d5ccdfa7fd09829c51104a817c67f7","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@7.1.1","_nodeVersion":"16.13.0","_npmVersion":"8.0.0","dist":{"shasum":"67e7da38b8afe96f86bb3e7038629553abcd0894","size":246994,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-7.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-7.1.1.tgz"},"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"maintainers":[{"name":"aaharu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_7.1.1_1638620984509_0.13270286348604543"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T21:08:54.087Z","publish_time":1638620984711,"_cnpm_publish_time":1638620984711},"7.1.0":{"name":"@mole-inc/bin-wrapper","version":"7.1.0","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","type":"module","exports":{"import":"./index.js","require":"./index.cjs"},"repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && c8 ava","build":"rollup -c","coverage":"c8 report --reporter lcov","prerelease":"pnpm run build","release":"standard-version","prepare":"husky install"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^5.0.0","content-disposition":"^0.5.3","decompress":"^4.2.1","ext-name":"^5.0.0","file-type":"^17.0.0","filenamify":"^5.0.2","got":"^10.7.0","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@rollup/plugin-alias":"^3.1.8","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","ava":"^3.15.0","c8":"^7.10.0","eslint-import-resolver-webpack":"^0.13.2","executable":"^4.1.1","husky":"^7.0.0","nock":"^13.2.1","path-exists":"^5.0.0","rimraf":"^3.0.2","rollup":"^2.60.2","standard-version":"latest","tempy":"^2.0.0","xo":"0.47.0"},"xo":{"rules":{"unicorn/prefer-node-protocol":"off"}},"gitHead":"88323908462852664c37834d1c3419e85c123a48","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@7.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.0.0","dist":{"shasum":"2699eb3027f6a5c480be50a1b52f7b7faa38e977","size":244362,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-7.1.0.tgz"},"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"maintainers":[{"name":"aaharu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_7.1.0_1638616727475_0.6793608276243923"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T21:08:51.738Z","publish_time":1638616727665,"_cnpm_publish_time":1638616727665},"7.0.0":{"name":"@mole-inc/bin-wrapper","version":"7.0.0","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","type":"module","exports":"./index.js","repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && c8 ava","coverage":"c8 report --reporter lcov","release":"standard-version"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^5.0.0","content-disposition":"^0.5.3","decompress":"^4.2.1","ext-name":"^5.0.0","file-type":"^12.4.2","filenamify":"^4.3.0","got":"^10.7.0","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","ava":"^3.15.0","c8":"^7.7.3","eslint-import-resolver-webpack":"^0.13.1","executable":"^4.1.1","husky":"^4.3.8","nock":"^13.1.0","path-exists":"^4.0.0","rimraf":"^3.0.2","standard-version":"latest","tempy":"^1.0.1","xo":"^0.40.3"},"gitHead":"d27df1c09b98c05590994c7d0a927a44cca68bfa","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@7.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.15.0","dist":{"shasum":"61c16ab1c0281ce08aad3db1d7b46cff4610b72e","size":4302,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-7.0.0.tgz"},"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"maintainers":[{"name":"aaharu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_7.0.0_1624974668218_0.3688267838928583"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T21:08:48.673Z","publish_time":1624974668385,"_cnpm_publish_time":1624974668385},"6.0.1":{"name":"@mole-inc/bin-wrapper","version":"6.0.1","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":">=10.13.0"},"scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=lcov","release":"standard-version"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^4.0.0","download":"^8.0.0","import-lazy":"^4.0.0","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","ava":"^3.7.0","executable":"^4.1.1","husky":"^4.2.5","nock":"^12.0.3","nyc":"^15.0.1","path-exists":"^4.0.0","rimraf":"^3.0.2","standard-version":"^7.1.0","tempy":"^0.5.0","xo":"^0.29.1"},"gitHead":"8cc624438c3b02d6f4992dda8c2660ea8610cdb2","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@6.0.1","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"shasum":"29ef5e4707db7701d1195d6fc686c8511e985dfe","size":4017,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-6.0.1.tgz"},"maintainers":[{"name":"aaharu","email":""}],"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_6.0.1_1587718963112_0.030741997709646807"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T21:08:47.042Z","publish_time":1587718963555,"_cnpm_publish_time":1587718963555},"6.0.0":{"name":"@mole-inc/bin-wrapper","version":"6.0.0","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":">=10.13.0"},"scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=lcov","release":"standard-version"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^4.0.0","download":"^8.0.0","import-lazy":"^4.0.0","os-filter-obj":"^2.0.0"},"devDependencies":{"@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","ava":"^3.7.0","executable":"^4.1.1","husky":"^4.2.5","nock":"^12.0.3","nyc":"^15.0.1","path-exists":"^4.0.0","rimraf":"^3.0.2","standard-version":"^7.1.0","tempy":"^0.5.0","xo":"^0.29.1"},"gitHead":"03c26e9208e65458f3a4a7539211dc3462909a62","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@6.0.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"shasum":"87872213baeb019767d28aba95562b61fe093d50","size":3935,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-6.0.0.tgz"},"maintainers":[{"name":"aaharu","email":""}],"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_6.0.0_1587137120064_0.9856618813940397"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T21:08:45.402Z","publish_time":1587137120221,"_cnpm_publish_time":1587137120221},"5.0.0":{"name":"@mole-inc/bin-wrapper","version":"5.0.0","description":"Binary wrapper that makes your programs seamlessly available as local dependencies","license":"MIT","repository":{"type":"git","url":"git+https://github.com/mole-inc/bin-wrapper.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"engines":{"node":">=10.13.0"},"scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=lcov","release":"standard-version"},"publishConfig":{"access":"public"},"keywords":["bin","check","local","wrapper"],"dependencies":{"bin-check":"^4.1.0","bin-version-check":"^4.0.0","download":"^8.0.0","import-lazy":"^4.0.0","os-filter-obj":"^2.0.0","which":"^2.0.2"},"devDependencies":{"@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","ava":"^3.7.0","executable":"^4.1.1","husky":"^4.2.5","nock":"^12.0.3","nyc":"^15.0.1","path-exists":"^4.0.0","rimraf":"^3.0.2","standard-version":"^7.1.0","tempy":"^0.5.0","xo":"^0.29.1"},"gitHead":"630884e3bc482b29784a84f987c66753727cf9e3","homepage":"https://github.com/mole-inc/bin-wrapper#readme","_id":"@mole-inc/bin-wrapper@5.0.0","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","dist":{"shasum":"c43b43436be914c29678ca2eeda472e4e03ad775","size":3914,"noattachment":false,"key":"/@mole-inc/bin-wrapper/-/@mole-inc/bin-wrapper-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mole-inc/bin-wrapper/download/@mole-inc/bin-wrapper-5.0.0.tgz"},"maintainers":[{"name":"aaharu","email":""}],"_npmUser":{"name":"aaharu","email":"aaharu@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bin-wrapper_5.0.0_1586951611154_0.30347952623477026"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T21:08:43.727Z","publish_time":1586951611336,"_cnpm_publish_time":1586951611336}},"readme":"# bin-wrapper [![Node CI](https://github.com/mole-inc/bin-wrapper/actions/workflows/nodejs.yml/badge.svg)](https://github.com/mole-inc/bin-wrapper/actions/workflows/nodejs.yml)\n\n> Binary wrapper that makes your programs seamlessly available as local dependencies\n\n[![Downloads](https://badgen.net/npm/dm/@mole-inc/bin-wrapper)](https://www.npmjs.com/package/@mole-inc/bin-wrapper)\n[![Version](https://badgen.net/npm/v/@mole-inc/bin-wrapper)](https://www.npmjs.com/package/@mole-inc/bin-wrapper)\n[![codecov](https://codecov.io/gh/mole-inc/bin-wrapper/branch/master/graph/badge.svg)](https://codecov.io/gh/mole-inc/bin-wrapper)\n\n## Install\n\n```\n$ npm install @mole-inc/bin-wrapper\n```\n\n\n## Usage\n\n```js\nimport {BinWrapper} from '@mole-inc/bin-wrapper';\n\nconst base = 'https://github.com/imagemin/gifsicle-bin/raw/master/vendor';\nconst bin = new BinWrapper()\n\t.src(`${base}/macos/gifsicle`, 'darwin')\n\t.src(`${base}/linux/x64/gifsicle`, 'linux', 'x64')\n\t.src(`${base}/win/x64/gifsicle.exe`, 'win32', 'x64')\n\t.dest(path.join('vendor'))\n\t.use(process.platform === 'win32' ? 'gifsicle.exe' : 'gifsicle')\n\t.version('>=1.71');\n\n(async () => {\n\tawait bin.run(['--version']);\n\tconsole.log('gifsicle is working');\n})();\n```\n\nGet the path to your binary with `bin.path`:\n\n```js\nconsole.log(bin.path);\n//=> 'path/to/vendor/gifsicle'\n```\n\n> if you have the requested binary installed globally, this one will be used instead (if everything works)\n\n## API\n\n### `new BinWrapper(options)`\n\nCreates a new `BinWrapper` instance.\n\n#### options\n\nType: `Object`\n\n##### skipCheck\n\nType: `boolean`<br>\nDefault: `false`\n\nWhether to skip the binary check or not.\n\n##### filename\n\nType: `string`<br>\nDefault: `undefined`\n\nSet the binary filename.\n\n##### gotOptions\n\nType: `object`<br>\nDefault: `undefined`\n\nAny of the [`https.request`](https://nodejs.org/api/https.html#https_https_request_options_callback) options.\n\nhttps://github.com/sindresorhus/got/tree/v11#options\n\n### .src(url, [os], [arch])\n\nAdds a source to download.\n\n#### url\n\nType: `string`\n\nAccepts a URL pointing to a file to download.\n\n#### os\n\nType: `string`\n\nTie the source to a specific OS.\n\n#### arch\n\nType: `string`\n\nTie the source to a specific arch.\n\n### .dest(destination)\n\n#### destination\n\nType: `string`\n\nAccepts a path which the files will be downloaded to.\n\n### .use(binary)\n\n#### binary\n\nType: `string`\n\nDefine which file to use as the binary.\n\n### .path\n\nReturns the full path to your binary.\n\n### .version(range)\n\n#### range\n\nType: `string`\n\nDefine a [semver range](https://github.com/isaacs/node-semver#ranges) to check\nthe binary against.\n\n### .run([arguments])\n\nRuns the search for the binary. If no binary is found it will download the file\nusing the URL provided in `.src()`.\n\n#### arguments\n\nType: `Array`<br>\nDefault: `['--version']`\n\nCommand to run the binary with. If it exits with code `0` it means that the\nbinary is working.\n\n\n## License\n\nThis is a fork of [kevva/bin-wrapper](https://github.com/kevva/bin-wrapper).\n\nsee LICENSE file.\n","_attachments":{},"homepage":"https://github.com/mole-inc/bin-wrapper#readme","bugs":{"url":"https://github.com/mole-inc/bin-wrapper/issues"},"license":"MIT"}