grimen / js-humanizer

A human/developer friendly value humanizer - for JavaScript/Node.

Home Page:https://npmjs.com/package/@grimen/humanizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

js-humanizer NPM version Build Status Coverage Status

A developer friendly data/value humanizer for debugging/logging - for JavaScript/Node.

Introduction

TODO

Install

Install using npm:

$ npm install @grimen/humanizer

Install using yarn:

$ yarn add @grimen/humanizer

Use

Very basic bytesize example:

const { bytesize } = require('@grimen/humanizer')

// TODO: add example

Very basic duration example:

const { duration } = require('@grimen/humanizer')

// TODO: add example

Test

Clone down source code:

$ make install

Run colorful tests using jest:

$ make test

Related

  • python-humanizer - "A developer friendly data/value humanizer for debugging/logging - for Python"

About

This project was mainly initiated - in lack of solid existing alternatives - to be used at our work at Markable.ai to have common code conventions between various programming environments where Node.js (for I/O heavy operations) is heavily used.

License

Released under the MIT license.

About

A human/developer friendly value humanizer - for JavaScript/Node.

https://npmjs.com/package/@grimen/humanizer

License:MIT License


Languages

Language:JavaScript 99.5%Language:Makefile 0.5%