1.2.2 • Published 10 years ago

ufix v1.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Packing GPS fix in 16 chars text string

Why do I need it?

To save space when storing GPS locations or transporting them

Example

var ufix = require('ufix')
//pack
ufix({
  latitude: 22.331443,
  longitude: 114.1451929,
  timestamp: 1445844471
})
// returns 16 chars string '/oFPDZksCUT31S1W'

//unpack
ufix('/oFPDZksCUT31S1W')
// returns location fix
/*
{
  latitude: 22.331443,
  longitude: 114.1451929,
  timestamp: 1445844471
}
*/
1.2.2

10 years ago

1.2.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago