Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

base-x

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-x - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

src/index.d.ts

14

package.json
{
"name": "base-x",
"version": "3.0.5",
"version": "3.0.6",
"description": "Fast base encoding / decoding of any given alphabet",

@@ -24,5 +24,6 @@ "keywords": [

"files": [
"index.js"
"src"
],
"main": "index.js",
"main": "src/index.js",
"types": "src/index.d.ts",
"repository": {

@@ -33,2 +34,5 @@ "type": "git",

"scripts": {
"build": "tsc -p ./tsconfig.json ; standard --fix",
"gitdiff": "npm run build && git diff --exit-code",
"prepublish": "npm run gitdiff",
"standard": "standard",

@@ -39,4 +43,6 @@ "test": "npm run unit && npm run standard",

"devDependencies": {
"@types/node": "12.0.10",
"standard": "^10.0.3",
"tape": "^4.5.1"
"tape": "^4.5.1",
"typescript": "3.5.2"
},

@@ -43,0 +49,0 @@ "dependencies": {

@@ -11,2 +11,4 @@ # base-x

**WARNING:** This module is **NOT RFC3548** compliant, it cannot be used for base16 (hex), base32, or base64 encoding in a standards compliant manner.
## Example

@@ -40,2 +42,3 @@

32 | `0123456789ABCDEFGHJKMNPQRSTVWXYZ`
32 | `ybndrfg8ejkmcpqxot1uwisza345h769` (z-base-32)
36 | `0123456789abcdefghijklmnopqrstuvwxyz`

@@ -62,4 +65,3 @@ 58 | `123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz`

While unusual, this does mean that no padding is required and it works for bases
like 43. **If you need standard hex encoding, or base64 encoding, this module is NOT
appropriate.**
like 43.

@@ -66,0 +68,0 @@

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