ip-utils

v2.4.0
Library of useful functions related to IP
ip network subnet

h

yarn npm-scripts-info

i

yarn h

build

yarn build:node && yarn build:browser

build:browser

NODE_ENV=production webpack --config ./build/production.ts --progress --hide-modules

build:node

yarn build:node:commonjs && yarn build:node:esnext

build:node:commonjs

tsc --project build/tsconfig.commonjs.json

build:node:esnext

tsc --project build/tsconfig.esnext.json

analysis

NODE_ENV=production webpack --config ./build/analysis.ts --progress --hide-modules

lint

tslint -p tsconfig.json --format codeFrame

fix

tslint -p tsconfig.json --fix

test

NODE_ENV=testing karma start build/karma.config.ts --single-run

test:watch

NODE_ENV=testing karma start build/karma.config.ts

coverage

NODE_ENV=testing nyc karma start build/karma.config.ts --single-run && yarn coverage:show && codecov < coverage/coverage-final.json

coverage:show

opn coverage/html/index.html

docs

typedoc src --mode modules --target es6 --mode file --theme default --out docs && opn docs/index.html

docs:publish

ts-node build/tools/gh-pages-publish.ts

commit

git-cz

commitmsg

validate-commit-msg

prepush

yarn test

prepublishOnly

yarn lint && yarn test && yarn build
npm i ip-utils

Metadata

  • MIT
  • Whatever
  • Sean
  • released 1/14/2018

Downloads

Maintainers