pin-it

0.0.1 • Public • Published

pin-it

pin object updates to the top right of your screen. minimally styled.

 
var pin = require('pin-it')
  , obj = {x: 1, y:2}           // assume this changes every frame
 
setInterval(function() {
    pin(obj)
})
 

a better example

API

pin(obj[, updateEveryMS=0])

create-or-update a pinned value. pins are unique to the line they originated from.

license

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    9
  • 0.0.0
    0

Package Sidebar

Install

npm i pin-it

Weekly Downloads

9

Version

0.0.1

License

MIT

Last publish

Collaborators

  • chrisdickinson