Natural Date Processing library in CoffeeScript (compiled into JavaScript)
JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
components/jquery
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
Gruntfile.js
README.md
date.js
package.json

README.md

Natural Date Processing

Natural Date Processing is a small library written in CoffeeScript, allowing you to read user inputs and guess when things will happen.

Try it now!

Go to http://besport.github.com/ndp/ and see for yourself!

Installation

You can grab the date.js file at the root of the project, or compile it yourself.

Usage

Easy, one method and you're done : Date.parse("why not next monday at 17 pm?")

Compilation

  • If you have Yeoman, simply run yeoman concat:coffee coffee:build and grab the output file
  • If you don't have it, run cat app/scripts/date.*.coffee | coffee -s -o . > date.js