pineapple-lumps

0.0.8 • Public • Published

Pineapple Lumps

A smart date tool for comparing the duration between the current time and a given date reference expressed in a verbalised format.

Todo's

This project is still a work in progress.

  • Add in an event duration comparison.
  • Have the ability to extract, change and compare different time zones on the fly.

Installation

  • Install the package as a dependancy.
npm install pineapple-lumps --save
  • Require the package into your project
const pineappleLumps = require('pineapple-lumps');
  • Pass in a date reference to get the comparison.
const comparison = pineappleLumps('2016-01-01T09:45:00+12:00'); // In three days, 1st Jan 2016

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i pineapple-lumps

Weekly Downloads

2

Version

0.0.8

License

MIT

Last publish

Collaborators

  • devon-church