1.0.16 • Published 6 years ago
localhost-string-validator v1.0.16
localhost-validator
Validate if string is a proper localhost
Getting Started
import isLocalHost from 'localhost-validator'
isLocalHost('https://localhost:3000') // true
isLocalHost('https://host.com') // falseInstalling
npm i --save localhost-validatorRunning the tests
npm run testAuthors
- Raymaen007