Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heapwolf/seq-lex
Creates or increments the value of a lexicographically sortable string. useful for creating sequential keys in leveldb
https://github.com/heapwolf/seq-lex
Last synced: 25 days ago
JSON representation
Creates or increments the value of a lexicographically sortable string. useful for creating sequential keys in leveldb
- Host: GitHub
- URL: https://github.com/heapwolf/seq-lex
- Owner: heapwolf
- Created: 2014-06-25T17:10:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-25T22:41:20.000Z (over 10 years ago)
- Last Synced: 2024-10-03T08:33:19.008Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SYNOPSIS
Creates or increments the value of a lexicographically sortable string# MOTIVATION
Useful for creating sequential keys in leveldb# USAGE
```js
var x = lexseq();
console.log(x.charCodeAt(0)); // 0x = lexseq(x);
console.log(x.charCodeAt(0)); // 1
```