0.3.1 • Published 2 years ago

@rackandpinecone/base-x v0.3.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

base-x

import { BaseX } from "@rackandpinecone/base-x";

const Base = new BaseX();

Base.convert("9", "BASE10", "BASE2"); // "1001"

Base.getBase("BASE10"); // "0123456789"
Base.getBase("BASE16"); // "0123456789ABCDEF"

Base.setBase("BASE4", "0123");
Base.convert("5", "BASE10", "BASE4"); // "11"

Version History

  • 0.3.0
    • Refactor to Typescript and use promises
  • 0.2.0
    • Refactor to Typescript and use promises
  • 0.1.0
    • Initial release and test coverage

Build Status

Coverage Status

0.3.1

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago