https://github.com/richienb/is-ubuntu
Check if the process is running inside Ubuntu.
https://github.com/richienb/is-ubuntu
Last synced: 10 months ago
JSON representation
Check if the process is running inside Ubuntu.
- Host: GitHub
- URL: https://github.com/richienb/is-ubuntu
- Owner: Richienb
- License: mit
- Created: 2020-10-21T05:15:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T05:50:47.000Z (about 5 years ago)
- Last Synced: 2025-02-18T19:06:04.154Z (11 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: license
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# is-ubuntu [](https://travis-ci.com/Richienb/is-ubuntu)
Check if the process is running inside Ubuntu.
[](https://npmjs.com/package/is-ubuntu)
## Install
```sh
npm install is-ubuntu
```
## Usage
```js
const isUbuntu = require("is-ubuntu")
// When the process is running inside Ubuntu
console.log(isUbuntu)
//=> true
```