Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/charmander/pg-int8

64-bit big-endian signed integer-to-string conversion
https://github.com/charmander/pg-int8

Last synced: 3 months ago
JSON representation

64-bit big-endian signed integer-to-string conversion

Awesome Lists containing this project

README

        

[![Build status][ci image]][ci]

64-bit big-endian signed integer-to-string conversion designed for [pg][].

```js
const readInt8 = require('pg-int8');

readInt8(Buffer.from([0, 1, 2, 3, 4, 5, 6, 7]))
// '283686952306183'
```

[pg]: https://github.com/brianc/node-postgres

[ci]: https://travis-ci.org/charmander/pg-int8
[ci image]: https://api.travis-ci.org/charmander/pg-int8.svg