nlp-date
v1.0.0
Published
A simple natural language date parser written in JavaScript
Downloads
3
Readme
nlp-date
A simple natural language date parser written in Javascript
Table of Contents
Background
Your users might want to enter dates in a more friendly format, like March 26th
. The library parses the text and returns a new date instance for that date. It will default to current year if it is not provided.
The library has no external dependencies and it aims to handle simple use cases.
Install
npm install nlp-date
Usage
const parse = require('nlp-date')
console.log(parse('March 26th'))
Maintainers
Contributing
All contributions are highly appreciated! Especially PRs with specs.
License
MIT