LOGIN
Harsha Alva
47
Community Star
Mechanical Engineer + Software Developer
 · MangaluruIndia
Share
Report
Get Link
MILESTONE

My first NPM package :)

I’ve made a React component to render dates and times in relation to the current time, like “x seconds/minutes/hours/days/years ago”.

NPM

This component does not depend on the ubiquitous moment.js, which is close to 64 KB with locales. So I could limit the size to 5 KB by transpiling and minifying with Babel and Babili respectively.

Thanks to Robert Lancer for asking me to make this package and push it to the npm registry. 😃

Contributions
Robert Lancer

Inspiration behind React Relative Time 😃

By 
Harsha Alva
0 like 
Like
Award Contribution
Leave a reply...
DISCOVER
CHAT
ALERTS
DISCUSSIONS
FEED