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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1
  • 0.1.3
    1
  • 0.1.2
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i install-timestamp

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • iefserge