@thi.ng/base-n
Advanced tools
Comparing version 2.4.3 to 2.5.0
export declare const B16_UC_CHARS = "0123456789ABCDEF"; | ||
export declare const B16_LC_CHARS = "0123456789abcdef"; | ||
/** | ||
* Alias for {@link B16_LC_CHARS} | ||
*/ | ||
export declare const B16_CHARS = "0123456789abcdef"; | ||
/** | ||
* Digits: 0-9 A-F | ||
@@ -11,2 +15,6 @@ */ | ||
export declare const BASE16_LC: import("./base.js").BaseN; | ||
/** | ||
* Alias for {@link BASE16_LC} | ||
*/ | ||
export declare const BASE16: import("./base.js").BaseN; | ||
//# sourceMappingURL=16.d.ts.map |
@@ -5,2 +5,6 @@ import { defBase } from "./base.js"; | ||
/** | ||
* Alias for {@link B16_LC_CHARS} | ||
*/ | ||
export const B16_CHARS = B16_LC_CHARS; | ||
/** | ||
* Digits: 0-9 A-F | ||
@@ -13,1 +17,5 @@ */ | ||
export const BASE16_LC = defBase(B16_LC_CHARS); | ||
/** | ||
* Alias for {@link BASE16_LC} | ||
*/ | ||
export const BASE16 = BASE16_LC; |
@@ -9,2 +9,6 @@ /** | ||
/** | ||
* Alias for {@link BASE32_RFC4648} | ||
*/ | ||
export declare const BASE32: import("./base.js").BaseN; | ||
/** | ||
* Digits: 0-9 A-V | ||
@@ -11,0 +15,0 @@ * |
@@ -10,2 +10,6 @@ import { defBase } from "./base.js"; | ||
/** | ||
* Alias for {@link BASE32_RFC4648} | ||
*/ | ||
export const BASE32 = BASE32_RFC4648; | ||
/** | ||
* Digits: 0-9 A-V | ||
@@ -12,0 +16,0 @@ * |
@@ -7,2 +7,6 @@ export declare const B58_CHARS_UC: string; | ||
*/ | ||
export declare const BASE58_UC: import("./base.js").BaseN; | ||
/** | ||
* Alias for {@link BASE58_UC}. | ||
*/ | ||
export declare const BASE58: import("./base.js").BaseN; | ||
@@ -9,0 +13,0 @@ /** |
@@ -11,6 +11,10 @@ import { defBase } from "./base.js"; | ||
*/ | ||
export const BASE58 = defBase(B58_CHARS); | ||
export const BASE58_UC = defBase(B58_CHARS_UC); | ||
/** | ||
* Alias for {@link BASE58_UC}. | ||
*/ | ||
export const BASE58 = BASE58_UC; | ||
/** | ||
* Alt version of Base58 which uses {@link B58_CHARS_LC}. | ||
*/ | ||
export const BASE58_LC = defBase(B58_CHARS_LC); |
@@ -7,4 +7,6 @@ export declare const B64_CHARS: string; | ||
* Reference: https://en.wikipedia.org/wiki/Base64 | ||
* | ||
* Note: This encoder does NOT perform automatic padding (i.e. `=`-suffixes) | ||
*/ | ||
export declare const BASE64: import("./base.js").BaseN; | ||
//# sourceMappingURL=64.d.ts.map |
@@ -9,3 +9,5 @@ import { B62_CHARS } from "./62.js"; | ||
* Reference: https://en.wikipedia.org/wiki/Base64 | ||
* | ||
* Note: This encoder does NOT perform automatic padding (i.e. `=`-suffixes) | ||
*/ | ||
export const BASE64 = defBase(B64_CHARS); |
# Change Log | ||
- **Last updated**: 2023-03-14T13:27:19Z | ||
- **Last updated**: 2023-03-17T08:24:43Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/base-n@2.5.0) (2023-03-17) | ||
#### 🚀 Features | ||
- add BASE16/32/58 aliases for default impls ([7a8ae1f](https://github.com/thi-ng/umbrella/commit/7a8ae1f)) | ||
## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/base-n@2.4.0) (2023-02-10) | ||
@@ -14,0 +20,0 @@ |
{ | ||
"name": "@thi.ng/base-n", | ||
"version": "2.4.3", | ||
"version": "2.5.0", | ||
"description": "Arbitrary base-n conversions w/ presets for base16/32/36/58/62/64/85, support for arrays & bigints", | ||
@@ -112,3 +112,3 @@ "type": "module", | ||
}, | ||
"gitHead": "cc46c097a3a173fb1ef41f57a858d03037063141\n" | ||
"gitHead": "2c1711570656e7ce85da34211107163e98c64921\n" | ||
} |
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
31480
365