In the true spirit of open source and decentralization, we have open sourced one of our internal modules.
The use case is to show the difference between two dates in human terms. At the moment, this is being used in SpringRole profiles to show the time for each experience. For example, if someone says April 2014 to May 2016, instead of 400 days, etc, this module enables you to showcase it as 2 years and 1 month, etc.
It’s been a week since this went live and has already gotten 156 downloads.
Visit https://www.npmjs.com/package/pretty-date-duration for more.
Check our log here>> https://github.com/SpringRole/pretty-date-duration
We thank our team — George and Rupam for taking the initiative to open source and hope the community benefits from their contribution.
*NPM is a package manager for the JavaScript programming language. It is the default package manager for the JavaScript runtime environment Node.js. It consists of a command line client, also called npm, and an online database of public and paid-for private packages, called the npm registry. The registry is accessed via the client, and the available packages can be browsed and searched via the npm website. The package manager and the registry are managed by npm, Inc.