pin-it

pin object updates to the dom

npm install pin-it
7 downloads in the last day
28 downloads in the last week
123 downloads in the last month

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

npm loves you