Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

codez

zorigins2MIT1.0.1

Light HTTP status code handler

code, codez, error, zorigins

readme

codez

npm version npm minified size npm downloads github stars github issues github license

Light HTTP status code handler

Installation

npm i codez

Usage

const codez = require('codez');

codez.codeToPhrase(404); // returns 'Not Found'

codez.phraseToCode('Not Found'); // returns 404

Dependencies

None!

Contributors

Ryan Arora