seq-lex
v1.0.2
Published
Creates or increments the value of a lexicographically sortable string
Downloads
10
Readme
SYNOPSIS
Creates or increments the value of a lexicographically sortable string
MOTIVATION
Useful for creating sequential keys in leveldb
USAGE
var x = lexseq();
console.log(x.charCodeAt(0)); // 0
x = lexseq(x);
console.log(x.charCodeAt(0)); // 1