Socket
Socket
Sign inDemoInstall

vigour-stamp

Package Overview
Dependencies
17
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vigour-stamp

generates unique stamps for changes, possiblity to observe progress of stamps


Version published
Maintainers
1
Install size
4.07 MB
Created

Readme

Source

vigour-stamp

Build Status js-standard-style npm version Coverage Status

Generates unique stamps for change, listens to close events

const vstamp = require('vigour-stamp')

// vstamp.create(type, source, override)
// results in click-1
const stamp = vstamp.create('click')

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

// fires after on listeners, when a stamp closes
vstamp.done(stamp, () => console.log('closed'))

// fires the onclose listener
vstamp.close(stamp)

const parsed = vstamp.parse(stamp)
// returns a parsed stamp { type: 'click', val: 1 }

// remove all listeners
vstamp.remove(stamp)

// to debug use
const debug = require('vstamp/debug')
debug(vstamp)
// this will throw errors when stamps are created while others are still open

Keywords

FAQs

Last updated on 27 Sep 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc