1.0.0 • Published 9 years ago

install-timestamp v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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