1.0.0 • Published 10 years ago
install-timestamp v1.0.0
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