JSPM

base36sequence

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q32225F
  • License MIT

Sequences to increment in base 36

Package Exports

  • base36sequence

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (base36sequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

#Base36Sequence the module produces integer sequences in base 36 ##Quick Examples

var Sequence= require('base36sequence');

var example1= new Sequence(0);
var example2= new Sequence("rr");
// 0
console.log(example1.next());
// 1
console.log(example1.current());
//rr
//999
console.log(example2.current());
// true
console.log(example2.isBase36("rr"));
//rr
example2.encode(999);
//999
example2.decode("rr");