is-freebsd
Version:
A tool to check if the operating system is FreeBSD or not
40 lines (26 loc) • 1.27 kB
Markdown






# is-freebsd
A tool to check if the operating system is FreeBSD or not
# Installation
```bash
npm install is-freebsd
```
Or, if you prefer yarn
```bash
yarn add is-freebsd
```
# Usage
```javascript
const { isFreeBSD } = require('is-freebsd');
// If the OS that the program is executing in is FreeBSD then it returns true
console.log(isFreeBSD()); // true
```
# Contributing
Contributions are welcome. See the [contribution guide](https://github.com/pr357/is-freebsd/blob/main/CONTRIBUTING.md) for more info.
# License
This software is licensed under the [MIT License](https://choosealicense.com/licenses/mit/). See the [LICENSE](https://github.com/pr357/is-freebsd/blob/main/LICENSE) for more info.