npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

strtotime

1.0.0 • Public • Published

strtotime

Node StrToTime function.

This code is taken from the original project by blaxmas.

This is a simple fork of the original code but with the main difference that the Date.prototype scope is not extended.

Examples

var strtotime = require('strtotime');

strtotime('1 week');
strtotime('next friday');
strtotime('2015-01-05');
strtotime('27/02/2017');

install

npm i strtotime

Downloadsweekly downloads

917

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability