@wtasnorg/node-lib 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.txt +14 -0
- package/docs/README.md +17 -0
- package/docs/docs.json +2148 -413
- package/docs/functions/countOnes.md +31 -0
- package/docs/functions/countZeroes.md +32 -0
- package/docs/functions/countZeroesWithWidth.md +37 -0
- package/docs/functions/createFindDirectories.md +3 -3
- package/docs/functions/decode.md +3 -3
- package/docs/functions/decode32.md +49 -0
- package/docs/functions/decode58.md +49 -0
- package/docs/functions/decode85.md +49 -0
- package/docs/functions/encode.md +3 -3
- package/docs/functions/encode32.md +45 -0
- package/docs/functions/encode58.md +45 -0
- package/docs/functions/encode85.md +45 -0
- package/docs/functions/hello.md +1 -1
- package/docs/functions/parseUserAgent.md +1 -1
- package/docs/functions/pojo.md +1 -1
- package/docs/functions/popcount32.md +27 -0
- package/docs/functions/popcount64.md +31 -0
- package/docs/interfaces/FileSystemDependencies.md +3 -3
- package/docs/interfaces/FindDirectoriesOptions.md +5 -5
- package/docs/interfaces/UserAgentInfo.md +6 -6
- package/docs/type-aliases/Base32CharsetType.md +13 -0
- package/docs/type-aliases/Base58CharsetType.md +13 -0
- package/docs/type-aliases/Base64CharsetType.md +1 -1
- package/docs/type-aliases/Base85CharsetType.md +13 -0
- package/docs/variables/Base32Charset.md +16 -0
- package/docs/variables/Base58Charset.md +16 -0
- package/docs/variables/Base64Charset.md +1 -1
- package/docs/variables/Base85Charset.md +16 -0
- package/package.json +52 -8
- package/readme.txt +30 -4
- package/src/base32.d.ts +58 -0
- package/src/base32.js +143 -0
- package/src/base32.test.d.ts +2 -0
- package/src/base32.test.js +121 -0
- package/src/base32.test.ts +144 -0
- package/src/base32.ts +169 -0
- package/src/base58.d.ts +58 -0
- package/src/base58.js +155 -0
- package/src/base58.test.d.ts +2 -0
- package/src/base58.test.js +108 -0
- package/src/base58.test.ts +128 -0
- package/src/base58.ts +177 -0
- package/src/base85.d.ts +58 -0
- package/src/base85.js +173 -0
- package/src/base85.test.d.ts +2 -0
- package/src/base85.test.js +107 -0
- package/src/base85.test.ts +125 -0
- package/src/base85.ts +199 -0
- package/src/bits.d.ts +43 -0
- package/src/bits.js +117 -0
- package/src/bits.test.d.ts +2 -0
- package/src/bits.test.js +62 -0
- package/src/bits.test.ts +77 -0
- package/src/bits.ts +135 -0
- package/src/index.d.ts +9 -2
- package/src/index.js +5 -1
- package/src/index.ts +26 -2
- package/.github/workflows/npm-publish.yml +0 -36
- package/.github/workflows/npm-test-on-pr.yml +0 -30
package/changelog.txt
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.11] - 2026-01-20
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Base58 encoding/decoding in `src/base58.ts` with three charset variants: `bitcoin`, `flickr`, `ripple`.
|
|
7
|
+
- Base85 encoding/decoding in `src/base85.ts` with three charset variants: `ascii85`, `z85`, `rfc1924`.
|
|
8
|
+
- Base32 encoding/decoding in `src/base32.ts` with three charset variants: `rfc4648`, `hex`, `crockford`.
|
|
9
|
+
- Comprehensive unit tests for all new modules.
|
|
10
|
+
- Subpath exports for tree shaking: import individual modules via `@wtasnorg/node-lib/base64`, etc.
|
|
11
|
+
|
|
12
|
+
## [0.0.10] - 2026-01-20
|
|
13
|
+
|
|
14
|
+
### Updated
|
|
15
|
+
- Updated `hello` to use konsole.
|
|
16
|
+
|
|
3
17
|
## [0.0.9] - 2026-01-19
|
|
4
18
|
|
|
5
19
|
### Added
|
package/docs/README.md
CHANGED
|
@@ -12,17 +12,34 @@
|
|
|
12
12
|
|
|
13
13
|
## Type Aliases
|
|
14
14
|
|
|
15
|
+
- [Base32CharsetType](type-aliases/Base32CharsetType.md)
|
|
16
|
+
- [Base58CharsetType](type-aliases/Base58CharsetType.md)
|
|
15
17
|
- [Base64CharsetType](type-aliases/Base64CharsetType.md)
|
|
18
|
+
- [Base85CharsetType](type-aliases/Base85CharsetType.md)
|
|
16
19
|
|
|
17
20
|
## Variables
|
|
18
21
|
|
|
22
|
+
- [Base32Charset](variables/Base32Charset.md)
|
|
23
|
+
- [Base58Charset](variables/Base58Charset.md)
|
|
19
24
|
- [Base64Charset](variables/Base64Charset.md)
|
|
25
|
+
- [Base85Charset](variables/Base85Charset.md)
|
|
20
26
|
|
|
21
27
|
## Functions
|
|
22
28
|
|
|
29
|
+
- [countOnes](functions/countOnes.md)
|
|
30
|
+
- [countZeroes](functions/countZeroes.md)
|
|
31
|
+
- [countZeroesWithWidth](functions/countZeroesWithWidth.md)
|
|
23
32
|
- [createFindDirectories](functions/createFindDirectories.md)
|
|
24
33
|
- [decode](functions/decode.md)
|
|
34
|
+
- [decode32](functions/decode32.md)
|
|
35
|
+
- [decode58](functions/decode58.md)
|
|
36
|
+
- [decode85](functions/decode85.md)
|
|
25
37
|
- [encode](functions/encode.md)
|
|
38
|
+
- [encode32](functions/encode32.md)
|
|
39
|
+
- [encode58](functions/encode58.md)
|
|
40
|
+
- [encode85](functions/encode85.md)
|
|
26
41
|
- [hello](functions/hello.md)
|
|
27
42
|
- [parseUserAgent](functions/parseUserAgent.md)
|
|
28
43
|
- [pojo](functions/pojo.md)
|
|
44
|
+
- [popcount32](functions/popcount32.md)
|
|
45
|
+
- [popcount64](functions/popcount64.md)
|