Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "base-conv", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Convert arbitrarily big numbers from any radix representation to any other", | ||
@@ -8,3 +8,4 @@ "main": "index.cjs.js", | ||
"scripts": { | ||
"test": "rollup test.js -f cjs | node" | ||
"test": "nyc node test", | ||
"coverage": "nyc report --reporter=lcov > coverage.lcov && codecov" | ||
}, | ||
@@ -24,5 +25,17 @@ "repository": "https://github.com/caub/base-conv.git", | ||
"homepage": "https://github.com/caub/base-conv#readme", | ||
"nyc": { | ||
"extension": [ | ||
".mjs" | ||
], | ||
"require": [ | ||
"@std/esm" | ||
], | ||
"check-coverage": true | ||
}, | ||
"devDependencies": { | ||
"@std/esm": "^0.26.0", | ||
"codecov": "^3.0.2", | ||
"nyc": "^12.0.2", | ||
"rollup": "^0.58.2" | ||
} | ||
} | ||
} |
@@ -5,2 +5,3 @@ # radix conversion | ||
[![build status][travis-image]][travis-url] | ||
[![coverage status][codecov-image]][codecov-url] | ||
@@ -16,2 +17,3 @@ - default charset is `'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'` (base62) | ||
console.log(conv('42', 10, 16)) // '2a' | ||
console.log(conv('42'.repeat(100), 10, 16)) // '8DE2991DF40FF7830578100...' | ||
``` | ||
@@ -22,2 +24,4 @@ | ||
[travis-image]: https://img.shields.io/travis/caub/base-conv.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/caub/base-conv | ||
[travis-url]: https://travis-ci.org/caub/base-conv | ||
[codecov-image]: https://img.shields.io/codecov/c/github/caub/base-conv.svg?style=flat-square | ||
[codecov-url]: https://codecov.io/gh/caub/base-conv |
13469
6
109
25
4