Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edtf

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edtf

Extended Date Time Format (EDTF) / ISO 8601-2 Parser and Library

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
increased by41.19%
Maintainers
1
Weekly downloads
 
Created
Source

EDTF.js

Build Status Coverage Status NPM version License AGPL-3.0

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 edtf

EDTF.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

Keywords

FAQs

Package last updated on 16 May 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc