Socket
Socket
Sign inDemoInstall

hex2dec

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hex2dec - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

4

package.json
{
"name": "hex2dec",
"version": "1.0.0",
"version": "1.0.1",
"description": "Arbitrary precision decimal/hexadecimal converter.",

@@ -28,3 +28,3 @@ "main": "index.js",

],
"license": "UNLICENSED",
"license": "Apache-2.0",
"bugs": {

@@ -31,0 +31,0 @@ "url": "https://github.com/donmccurdy/hex2dec/issues"

@@ -11,3 +11,3 @@ # hex2dec

```
```javascript
var converter = require('hex2dec');

@@ -22,1 +22,5 @@

`(250).toString(16) === 'fa'` and `250 === 0xFA` both work just fine, and will provide enough precision for most uses. For large (>64-bit) numbers, however, precision is lost. This utility provides a higher-precision alternative.
## License
This code may be used under the [Apache 2 license](https://github.com/donmccurdy/hex2dec/blob/master/LICENSE).
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