https://github.com/leecjson/node-is-valid-port
Check whether is a valid port number or not
https://github.com/leecjson/node-is-valid-port
Last synced: 24 days ago
JSON representation
Check whether is a valid port number or not
- Host: GitHub
- URL: https://github.com/leecjson/node-is-valid-port
- Owner: leecjson
- License: mit
- Created: 2019-10-29T10:34:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T10:45:20.000Z (over 6 years ago)
- Last Synced: 2025-07-06T23:06:57.160Z (12 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
```javascript
const isValidPort = require('is-valid-port');
isValidPort(40202);
isValidPort(parseInt('932'));
```