Skip to content

strazan/sigkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sigkey

Create sortable string keys from integers.

npm i sigkey

or if you're using yarn

yarn add sigkey
import * as sigkey from 'sigkey'

sigkey.get(42)           // -> '000042'
sigkey.get(42, 4)        // -> '0042'
sigkey.parse('000042')   // -> 42
sigkey.inc('000042')     // -> '000043'
sigkey.dec('000042')     // -> '000041'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published