{"name":"is-wsl","version":"3.1.1","description":"Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-wsl.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["check","wsl","windows","subsystem","linux","detect","bash","process","console","terminal","is"],"dependencies":{"is-inside-container":"^1.0.0"},"devDependencies":{"ava":"^5.3.1","esmock":"^2.3.6","tsd":"^0.28.1","xo":"^0.55.1"},"ava":{"serial":true,"nodeArguments":["--loader=esmock","--no-warnings"]},"gitHead":"d2ffb4a9844a590a53e14fb0c5e4762b3fdffaf3","types":"./index.d.ts","_id":"is-wsl@3.1.1","bugs":{"url":"https://github.com/sindresorhus/is-wsl/issues"},"homepage":"https://github.com/sindresorhus/is-wsl#readme","_nodeVersion":"25.6.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==","shasum":"327897b26832a3eb117da6c27492d04ca132594f","tarball":"http://registry-npm.ywwl.com/is-wsl/download/is-wsl-3.1.1.tgz","fileCount":5,"unpackedSize":3664,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDVWQWWERMulhg59dny0Q089HoiA3Uz7GU6c0Fb2uYSwwIhAJSXLCkny76QKuHQ23YhhKU6L0n7IVBihdAbfIXDzanI"}],"size":1912,"noattachment":false,"key":"/is-wsl/-/is-wsl-3.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-wsl_3.1.1_1771145103997_0.7733269838484698"},"_hasShrinkwrap":false,"readme":"# is-wsl\n\n> Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows)\n\nCan be useful if you need to work around unimplemented or buggy features in WSL. Supports both WSL 1 and WSL 2.\n\n## Install\n\n```sh\nnpm install is-wsl\n```\n\n## Usage\n\n```js\nimport isWsl from 'is-wsl';\n\n// When running inside Windows Subsystem for Linux\nconsole.log(isWsl);\n//=> true\n```\n","publish_time":1771145104136,"_cnpm_publish_time":1771145104136,"dist-tags":{"latest":"3.1.1"}}