Not a Propaganda Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

Keywords

none

install

npm i pin-it

Downloadsweekly downloads

25

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar