🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

stamp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stamp

Generate unique meta information for change in a system

4.0.2
latest
Source
npm
Version published
Weekly downloads
954
873.47%
Maintainers
1
Weekly downloads
 
Created
Source

stamp

Generate unique meta information for change in a system, monotonic timestamps

Build Status js-standard-style npm version Coverage Status

const stamp = require('stamp')

// stamp.create()
// results in 946725040140

// fires when a stamp closes (is handled)
stamp.on(() => console.log('closing'))

// fires stamp listeners
stamp.close()

const parsed = stamp.parse(stamp)
// returns a valid date time stamp

// remove all listeners
stamp.clear()

// offset internal clock
stamp.offset = 100 // add 100 ms to timestamps

// check if listeners are in progress
stamp.inProgress // true or false

Keywords

change

FAQs

Package last updated on 28 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts