1.8.0 • Published 10 years ago

sheeldotme-aba v1.8.0

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

sheeldotme-aba

build status

Install

  npm install sheeldotme-aba

Usage

  var base62 = require('sheeldotme-aba');
  base62.toDecimal('1aA');
  base62.fromDecimal(100);

Handling Errors

If the value past to aba is not appropriate, it returns null.

  var result = base62.toDecimal('1aA');
  console.log(result); // 6086
  
  var result = base62.toDecimal('1aA!');
  console.log(result); // null

Test for a successful result by making sure the response is not null

  var result = base62.toDecimal('1aA');
  if(result !== null) {
    console.log(result); // 6086
  }

Contribute

You can find the repository at https://github.com/sheeldotme/sheeldotme-aba. Find a bug? Create an issue at https://github.com/sheeldotme/sheeldotme-aba/issues

If you have any questions/feedback feel free to reach out to me on twitter @sheeldotme

1.8.0

10 years ago

1.7.0

10 years ago

1.6.0

10 years ago

1.5.0

10 years ago

1.4.0

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago