8000 GitHub - dominictarr/udid · GitHub
[go: up one dir, main page]

Skip to content
dominictarrPublic

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/] (Ask Ars: What's 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

About

No description, website, or topics provided.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0