An open API service indexing awesome lists of open source software.

https://github.com/jamen/pos

turn coordinate positions (under 2^15) into a single index
https://github.com/jamen/pos

Last synced: 8 months ago
JSON representation

turn coordinate positions (under 2^15) into a single index

Awesome Lists containing this project

README

          

# pos

> Turn coordinate positions (under 2^15) into a single index

```js
var loc = toLoc(123, 456)
// 14942331

var pos = toPos(loc)
// [123, 456]
```