@alttiri/base85
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -118,1 +118,4 @@ const ascii85 = charsetToMap(`!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstu`); | ||
} | ||
const base85 = {encode, decode}; | ||
export default base85; |
{ | ||
"name": "@alttiri/base85", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Pretty fast base85 JavaScript library", | ||
@@ -5,0 +5,0 @@ "author": "alttiri", |
@@ -9,7 +9,7 @@ # base85 | ||
### `function encode(ui8a: Uint8Array, charset?: "ascii85" | "z85" | String) : String` | ||
#### `function encode(ui8a: Uint8Array, charset?: "ascii85" | "z85" | String) : String` | ||
[`encode`](https://github.com/AlttiRi/base85/blob/42343e624f27ec68aa936a274c297ccd6c15c8cb/index.js#L42) encodes the input `Uint8Array` into base85 `String`. | ||
### `function decode(base85: String, charset?: "ascii85" | "z85" | String) : Uint8Array` | ||
#### `function decode(base85: String, charset?: "ascii85" | "z85" | String) : Uint8Array` | ||
@@ -92,7 +92,7 @@ [`decode`](https://github.com/AlttiRi/base85/blob/42343e624f27ec68aa936a274c297ccd6c15c8cb/index.js#L84) decodes the input base85 `String` into `Uint8Array`. | ||
```bash | ||
npm install git+https://github.com/alttiri/base85.git#semver:1.3.0 | ||
npm install git+https://github.com/alttiri/base85.git#semver:1.4.0 | ||
``` | ||
Or add | ||
``` | ||
"@alttiri/base85": "github:alttiri/base85#semver:1.3.0" | ||
"@alttiri/base85": "github:alttiri/base85#semver:1.4.0" | ||
``` | ||
@@ -105,7 +105,7 @@ as `dependencies` in `package.json` file. | ||
```bash | ||
npm install git+https://git@github.com/alttiri/base85.git#bb6b4bf6a734f23e63c69f9aff4c5e4c2b5c035b | ||
npm install git+https://git@github.com/alttiri/base85.git#ca3217f3d1075b8ff0966e24437326a6c2537bbc | ||
``` | ||
Or add | ||
``` | ||
"@alttiri/base85": "github:alttiri/base85#bb6b4bf6a734f23e63c69f9aff4c5e4c2b5c035b" | ||
"@alttiri/base85": "github:alttiri/base85#ca3217f3d1075b8ff0966e24437326a6c2537bbc" | ||
``` | ||
@@ -112,0 +112,0 @@ as `dependencies` in `package.json` file. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21694
329