1.0.2 • Published 10 years ago
seq-lex v1.0.2
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