JSPM

datenow

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q22879F
  • License MIT

Simple date now polyfill for old browsers and node

Package Exports

  • datenow

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 (datenow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

datenow

npm version Build Status

Simple Date.now() polyfill for old browsers and node.

Installation

$ npm install datenow

API

import now from 'datenow';

let timestamp = now();
// => 1487622014639

Running tests

$ npm install
$ npm test

License

MIT