Socket
Socket
Sign inDemoInstall

@scure/base

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

@scure/base - npm Package Compare versions

Comparing version 1.0.0-rc1 to 1.0.0

19

package.json
{
"name": "@scure/base",
"version": "1.0.0-rc1",
"version": "1.0.0",
"description": "Secure, audited & 0-dep implementation of bech32, base64, base58, base32 & base16",
"main": "index.js",
"files": ["index.js", "index.d.ts"],
"files": [
"index.js",
"index.d.ts"
],
"types": "index.d.ts",

@@ -11,3 +14,3 @@ "scripts": {

"build": "tsc -d",
"lint": "prettier --print-width 100 --single-quote --check index.ts",
"lint": "prettier --check index.ts",
"test": "node test/index.js"

@@ -23,4 +26,4 @@ },

"devDependencies": {
"micro-should": "^0.2.0",
"prettier": "^2.3.2",
"micro-should": "0.2.0",
"prettier": "2.4.1",
"typescript": "4.5.4"

@@ -42,3 +45,9 @@ },

"base"
],
"funding": [
{
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
]
}
# scure-base
Secure, audited and minimal implementation of bech32, base64, base58, base32 & base16.
Secure, audited and 0-dep implementation of bech32, base64, base58, base32 & base16.

@@ -35,5 +35,5 @@ Written in [functional style](#design-rationale), uses chaining, has unique tests which ensure correctness.

```js
const {base16, base32, base64, base58} = require('@scure/base');
const { base16, base32, base64, base58 } = require('@scure/base');
// Flavors
const {base58xmr, base58xrp, base32hex, base32crockford, base64url} = require('@scure/base');
const { base58xmr, base58xrp, base32hex, base32crockford, base64url } = require('@scure/base');

@@ -40,0 +40,0 @@ const data = Uint8Array.from([1, 2, 3]);

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