sindresorhus / is-wslView external linksLinks
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
☆199Sep 25, 2023Updated 2 years ago
Alternatives and similar repositories for is-wsl
Users that are interested in is-wsl are comparing it to the libraries listed below
Sorting:
- Get a random property from an object☆15Jul 2, 2024Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Sep 15, 2025Updated 5 months ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 4 months ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Slice a string with ANSI escape codes☆50Updated this week
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Get your public IP address☆27Sep 15, 2025Updated 5 months ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Efficiently applies the minimum of transforms to run stage 4 code on Node.js 6, 8 and 10☆13Aug 11, 2019Updated 6 years ago
- ☆12Apr 26, 2019Updated 6 years ago
- ☆11Apr 15, 2023Updated 2 years ago
- Use the browser Fetch API from the main process in Electron☆36May 1, 2024Updated last year
- Node.js 0.12 fs.access() & fs.accessSync() ponyfill☆13Oct 30, 2023Updated 2 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 3 years ago
- Object.keys shim☆46Dec 30, 2025Updated last month
- List of binary file extensions☆89May 4, 2025Updated 9 months ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Unpipe a stream from all destinations☆22Dec 15, 2020Updated 5 years ago