New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

interpret-date

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interpret-date

very fuzzy date parsing

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

interpret-date

very fuzzy date parsing

usage

with bower

bower install --save interpret-date

var mydate = interpretDate.interpretText('Mar 3rd 2017, 9pm')

with npm

npm install --save interpret-date

var interpretDate = require('interpret-date');
var mydate = interpretDate.interpretText('next thursday, 9pm')

interpret-date naturally works with date-first dates (ie 02/03/17 = 2nd Mar 2017)
if you live in a country that uses month-first dates then use

interpretDate.setMonthFirst(true)

FAQs

Package last updated on 17 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts