formatjs
JavaScript date format tester.

Getting Started
$3
Install the module with:
npm install formatjs
``
javascript
var formatjs = require('./formatjs');
formatjs.test('12/04', 'YYYY/MM'); // false
formatjs.test('2012/04', 'YYYY/MM'); // true
`
$3
Download the [production version][min] or the [development version][max].
[min]: https://raw.github.com/nowamasa/formatjs/master/dist/formatjs.min.js
[max]: https://raw.github.com/nowamasa/formatjs/master/dist/formatjs.js
In your web page:
`
html
`
In your web page using AMD loader:
`
html
`
Contributing
Install nodejs.
Install coffee-script with: npm install -g coffee-script
.
Install dependencies with: npm install`.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Test your code using
grunt.
_Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "src" subdirectory!_
License
Copyright (c) 2012 nowamasa
Licensed under the MIT license.