Package Exports
- edtf
- edtf/src/parser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (edtf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
EDTF.js
An Extended Date Time Format (EDTF) / ISO 8601-2 parser and toolkit for date/time hackers and enthusiasts.
Compatibility
EDFT / ISO 8601-2
EDTF.js fully implements EDTF levels 0, 1, and 2 as specified by WD 2016-02-16 of ISO 8601-2.
Installation
Node.js
$ npm install edtfEDTF.js is written in ES6 and therefore requires Node.js 6+. You should
be able to use it in Node 4 or 5 when setting the appropriate
--harmony flags or by using your favourite transpiler.
Browser
EDTF.js was written for Node.js. While we don't currently provide a browser package, it should be easily possible to create one using browserify or similar tools.
Parser
Generator
API
Credits
The EDTF.js parser is based on the awesome nearley parser generator.
The EDTF.js generator uses the ingenious randexp.
License
AGPL-3.0