install-timestamp
v1.0.0
Published
Post-install script that generates unique installation timestamp easily accessible by application
Downloads
20
Readme
SYNOPSIS
Post-install script that generates unique installation timestamp easily accessible by application. Timestamp includes current date from Date.now()
and some random bits.
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