install-timestamp

1.0.0 • Public • Published

SYNOPSIS

Post-install script that generates unique installation timestamp easily accessible by application. Timestamp includes current date from Date.now() and some random bits.

Build Status

USAGE

1 . Install this package:

npm install install-timestamp --save

2 . Add postinstall script to your package.json:

"scripts"{
  "postinstall": "install-timestamp",
},

3 . Read timestamp:

var installTimestamp = require('install-timestamp');
var ts = installTimestamp();
console.log(ts);

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i install-timestamp

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • iefserge