GitXplorerGitXplorer
y

datenow

public
0 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
694a5abb6de9e61b11cc8737d78b9bb9c3d0bada

Update README.md

yyefremov committed 8 years ago
Unverified
9f1fe9d776120083d0c627e29485f9af47706f4b

Update README.md

yyefremov committed 8 years ago
Unverified
919c0b735e4f482c79475b01d218dc8aa531a646

Bump package version

yyefremov committed 8 years ago
Unverified
977a06d627b22f049843ee2a6e198f438145f34b

Integrate Travis CI (#1)

yyefremov committed 8 years ago
Unverified
1fdfc4f2880488d07bc1b710eb210a3bf7ffc751

Add main script and tests

yyefremov committed 8 years ago
Unverified
eb6cb6043d8b6069f3440bdaf55ba3d7224db6f0

Initial commit

yyefremov committed 8 years ago

README

The README file for this repository.

datenow Build Status npm version

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

Installation

$ npm install datenow

API

import now from 'datenow';

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

To polyfill Date.now() function.

Date.now = Date.now || require('datenow');

Running tests

$ npm install
$ npm test

License

MIT