2.0.0 • Published 3 years ago

@inip/http-codes v2.0.0

Weekly downloads
23
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

INIP http-codes

typescript module of status codes mapping

Quick Start

npm install @inip/http-codes

Release

Build

npm install && npm run build

Update version

# npm version [patch|minor|major]
# npm version patch   1.0.0 -> 1.0.1
# npm version minor   1.0.0 -> 1.1.0
# npm version major   1.0.0 -> 2.0.0
npm version

Push to git

export NPM_NEW_VERSION=$(node -e "var pj=require('./package.json'); console.log(\`v\${pj.version}\`)");
echo "Pushing $NPM_NEW_VERSION to github"
git push origin $NPM_NEW_VERSION

Publish to NPM

npm publish --access public

Install

npm i @inip/http-codes@2.0.0