Socket
Book a DemoInstallSign in
Socket

pin-it

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pin-it

pin object updates to the dom

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

debug

FAQs

Package last updated on 17 Feb 2013

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