Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brisky-stamp

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brisky-stamp

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

  • 1.5.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
102
increased by64.52%
Maintainers
1
Weekly downloads
 
Created
Source

brisky-stamp

Build Status js-standard-style npm version Coverage Status

Generates unique stamps for change, listens to close events

const briskyStamp = require('brisky-stamp')

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

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

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

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

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

// remove all listeners
briskyStamp.remove(stamp)

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

Keywords

FAQs

Package last updated on 19 Oct 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc