New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

base-conv

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-conv - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.nyc_output/e1a2fcf0c780278fb0c4941eee41fc6b.json

19

package.json
{
"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
index.js
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc