The Humanizing Touch … in Node

2 Cool Humanizing NodeJS Modules

When I’m coding I often need to take complicated or specific user input and create a display friendly version of it, something that is easier for humans to read.

For example, An article is submitted to a server, and when I save it, I use the most specific time I can get — but when it comes to displaying that date to a human again, I do things like “fuzzy” date, or a “time ago”. These are 2 examples of humanizing data.

humanize
A JS library for adding a "human touch" to data.A
create library for handling tons of different scenarios.
var humanize = require('humanize');
humanize.date('Y-m-d'); // 'yyyy-mm-dd'
humanize.filesize(1234567890); // '1.15 Gb'
var humanizeUrl = require('humanize-url');

humanizeUrl('http://www.sindresorhus.com/');
//=> sindresorhus.com
A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.