Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/charmander/pg-int8
- Owner: charmander
- License: isc
- Created: 2017-11-14T12:58:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T07:19:59.000Z (about 4 years ago)
- Last Synced: 2024-08-12T07:16:20.912Z (5 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/pg-int8
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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