https://github.com/richienb/is-cmd
Check if the current environment is the Windows Command Prompt.
https://github.com/richienb/is-cmd
Last synced: 13 days ago
JSON representation
Check if the current environment is the Windows Command Prompt.
- Host: GitHub
- URL: https://github.com/richienb/is-cmd
- Owner: Richienb
- License: mit
- Created: 2020-08-14T03:21:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T03:49:09.000Z (over 5 years ago)
- Last Synced: 2024-04-27T00:23:22.908Z (over 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
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-cmd [](https://travis-ci.com/Richienb/is-cmd)
Check if the current environment is the Windows Command Prompt.
[](https://npmjs.com/package/is-cmd)
## Install
```sh
npm install is-cmd
```
## Usage
```js
const isCmd = require("is-cmd");
isCmd();
//=> true
```
## API
### isCmd()