str

strtotime

Node StrToTime function

Showing:

Popularity

Downloads/wk

360

GitHub Stars

5

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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');

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100