Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master
Failed to load latest commit information.
.gitignore initial
LICENSE initial
README.md link to count-tabs
browser.js fallback to count-tabs in the browser
index.js update for windows env variables
package.json 0.1.4

README.md

udid

Return a string that uniquely identifies the current device, for a given app.

Extremely useful for distributed systems.

tries the current approaches:

  • sha1sum of user's public ssh public key
  • create random uuid and save it in ~/.udid
  • on the browser, fallback to count-tabs

the only configuration is your app name.

see http://arstechnica.com/apple/2012/09/ask-ars-whats-the-big-deal-with-iphone-udids/

example

var udid = require('udid')('appname')

console.log(udid)

todo

  • UDID on phones, etc for phonegap, etc.

License

MIT

Something went wrong with that request. Please try again.