range_check
- Version 2.0.4
- Published
- 223 kB
- 2 dependencies
- BSD-2-Clause license
Install
npm i range_check
yarn add range_check
pnpm add range_check
Overview
This is a simple module to validate IP address, check ip address version, check if ip is within a range.
Index
Functions
function displayIP
displayIP: (addr: string) => any;
function inRange
inRange: (addr: string, range: string | string[]) => any;
function isIP
isIP: (addr: string) => boolean;
function isRange
isRange: (range: string) => boolean;
function isV4
isV4: (addr: string) => boolean;
function isV6
isV6: (addr: string) => boolean;
function searchIP
searchIP: (addr: string) => any;
function storeIP
storeIP: (addr: string) => any;
function version
version: (addr: string) => number;
Package Files (1)
Dependencies (2)
Dev Dependencies (34)
- @commitlint/cli
- @commitlint/config-conventional
- @types/jest
- @types/node
- colors
- commitizen
- coveralls
- cross-env
- cz-conventional-changelog
- husky
- jest
- jest-config
- lint-staged
- lodash.camelcase
- prettier
- prompt
- replace-in-file
- rimraf
- rollup
- rollup-plugin-commonjs
- rollup-plugin-json
- rollup-plugin-node-resolve
- rollup-plugin-sourcemaps
- rollup-plugin-typescript2
- semantic-release
- shelljs
- travis-deploy-once
- ts-jest
- ts-node
- tslint
- tslint-config-prettier
- tslint-config-standard
- typedoc
- typescript
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/range_check
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/range_check)
- HTML<a href="https://www.jsdocs.io/package/range_check"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3764 ms. - Missing or incorrect documentation? Open an issue for this package.