{"_id":"is-windows-bash","_rev":"2874194","name":"is-windows-bash","description":"Determines if Node is running on Windows Bash (WSL)","dist-tags":{"latest":"1.0.3"},"maintainers":[{"name":"ianmitchell","email":""}],"time":{"modified":"2022-10-06T06:53:36.000Z","created":"2016-11-28T00:23:28.441Z","1.0.3":"2016-12-04T22:09:07.294Z","1.0.2":"2016-11-28T17:14:16.155Z","1.0.1":"2016-11-28T06:24:38.121Z","1.0.0":"2016-11-28T00:23:28.441Z"},"users":{},"author":{"name":"Ian Mitchell","email":"ian.mitchel1@live.com","url":"http://ianmitchell.io"},"repository":{"type":"git","url":"git+https://github.com/ianmitchell/is-windows-bash.git"},"versions":{"1.0.3":{"name":"is-windows-bash","version":"1.0.3","description":"Determines if Node is running on Windows Bash (WSL)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ianmitchell/is-windows-bash.git"},"author":{"name":"Ian Mitchell","email":"ian.mitchel1@live.com","url":"http://ianmitchell.io"},"main":"index.js","scripts":{"test":"jest"},"keywords":["Windows","Bash","WSL"],"devDependencies":{"jest":"^17.0.3"},"gitHead":"c1895cbd0765e7b772031fa1966f9a6b7b0ccaad","bugs":{"url":"https://github.com/ianmitchell/is-windows-bash/issues"},"homepage":"https://github.com/ianmitchell/is-windows-bash#readme","_id":"is-windows-bash@1.0.3","_shasum":"00132a47dcdacb00a9d68f3408a4d01d76215e88","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"ianmitchell","email":"ian.mitchel1@live.com"},"dist":{"shasum":"00132a47dcdacb00a9d68f3408a4d01d76215e88","size":1634,"noattachment":false,"key":"/is-windows-bash/-/is-windows-bash-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-windows-bash/download/is-windows-bash-1.0.3.tgz"},"maintainers":[{"name":"ianmitchell","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-windows-bash-1.0.3.tgz_1480889347072_0.13672323315404356"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T12:16:28.395Z","publish_time":1480889347294,"_cnpm_publish_time":1480889347294},"1.0.2":{"name":"is-windows-bash","version":"1.0.2","description":"Determines if Node is running on Windows Bash (WSL)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ianmitchell/is-windows-bash.git"},"author":{"name":"Ian Mitchell","email":"ian.mitchel1@live.com","url":"http://ianmitchell.io"},"main":"index.js","scripts":{"test":"jest"},"keywords":["Windows","Bash","WSL"],"devDependencies":{"jest":"^17.0.3"},"gitHead":"db3a3ecf3a0fdeeae928546ba7a122e88cc9fe7c","bugs":{"url":"https://github.com/ianmitchell/is-windows-bash/issues"},"homepage":"https://github.com/ianmitchell/is-windows-bash#readme","_id":"is-windows-bash@1.0.2","_shasum":"116d5685e07b4049176e0472df7f33084c86a548","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"ianmitchell","email":"ian.mitchel1@live.com"},"dist":{"shasum":"116d5685e07b4049176e0472df7f33084c86a548","size":1617,"noattachment":false,"key":"/is-windows-bash/-/is-windows-bash-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-windows-bash/download/is-windows-bash-1.0.2.tgz"},"maintainers":[{"name":"ianmitchell","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-windows-bash-1.0.2.tgz_1480353255936_0.12882901658304036"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T12:16:27.534Z","publish_time":1480353256155,"_cnpm_publish_time":1480353256155},"1.0.1":{"name":"is-windows-bash","version":"1.0.1","description":"Determines if Node is running on Windows Bash (WSL)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ianmitchell/is-windows-bash.git"},"author":{"name":"Ian Mitchell","email":"ian.mitchel1@live.com","url":"http://ianmitchell.io"},"main":"index.js","scripts":{"test":"jest"},"keywords":["Windows","Bash","WSL"],"devDependencies":{"jest":"^17.0.3"},"gitHead":"8a26aad1e826bfbc70eed52cdf016341cf9aaf56","bugs":{"url":"https://github.com/ianmitchell/is-windows-bash/issues"},"homepage":"https://github.com/ianmitchell/is-windows-bash#readme","_id":"is-windows-bash@1.0.1","_shasum":"088a227196e2b1d86ca3a655ed4f7a31ecdb14c5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"ianmitchell","email":"ian.mitchel1@live.com"},"dist":{"shasum":"088a227196e2b1d86ca3a655ed4f7a31ecdb14c5","size":1464,"noattachment":false,"key":"/is-windows-bash/-/is-windows-bash-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-windows-bash/download/is-windows-bash-1.0.1.tgz"},"maintainers":[{"name":"ianmitchell","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-windows-bash-1.0.1.tgz_1480314277732_0.9348420645110309"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T12:16:26.645Z","publish_time":1480314278121,"_cnpm_publish_time":1480314278121},"1.0.0":{"name":"is-windows-bash","version":"1.0.0","description":"Determines if Node is running on Windows Bash (WSL)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ianmitchell/is-windows-bash.git"},"author":{"name":"Ian Mitchell","email":"ian.mitchel1@live.com","url":"http://ianmitchell.io"},"main":"index.js","scripts":{"test":"jest"},"keywords":["Windows","Bash","WSL"],"devDependencies":{"jest":"^17.0.3"},"gitHead":"f9a5a6f110f3b715eb1ce34d3065a09e979b76b0","bugs":{"url":"https://github.com/ianmitchell/is-windows-bash/issues"},"homepage":"https://github.com/ianmitchell/is-windows-bash#readme","_id":"is-windows-bash@1.0.0","_shasum":"191a4d259cb38ba37299b02ea2a2182ff7ddb27e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"ianmitchell","email":"ian.mitchel1@live.com"},"dist":{"shasum":"191a4d259cb38ba37299b02ea2a2182ff7ddb27e","size":1444,"noattachment":false,"key":"/is-windows-bash/-/is-windows-bash-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-windows-bash/download/is-windows-bash-1.0.0.tgz"},"maintainers":[{"name":"ianmitchell","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-windows-bash-1.0.0.tgz_1480292606519_0.5080066898372024"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T12:16:25.772Z","publish_time":1480292608441,"_cnpm_publish_time":1480292608441}},"readme":"# is-windows-bash\r\n\r\nExports a function that returns true if the script is running in a Windows Bash environment (WSL) and false otherwise.\r\n\r\n## Usage\r\n\r\n```\r\n$ npm install is-windows-bash --save\r\n```\r\n\r\n```javascript\r\nconst isWindowsBash = require('is-windows-bash');\r\n\r\nif (isWindowsBash()) {\r\n  console.log('Welcome to the future');\r\n}\r\n```\r\n","_attachments":{},"homepage":"https://github.com/ianmitchell/is-windows-bash#readme","bugs":{"url":"https://github.com/ianmitchell/is-windows-bash/issues"},"license":"MIT"}