@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.
Files changed (62) hide show
  1. package/changelog.txt +14 -0
  2. package/docs/README.md +17 -0
  3. package/docs/docs.json +2148 -413
  4. package/docs/functions/countOnes.md +31 -0
  5. package/docs/functions/countZeroes.md +32 -0
  6. package/docs/functions/countZeroesWithWidth.md +37 -0
  7. package/docs/functions/createFindDirectories.md +3 -3
  8. package/docs/functions/decode.md +3 -3
  9. package/docs/functions/decode32.md +49 -0
  10. package/docs/functions/decode58.md +49 -0
  11. package/docs/functions/decode85.md +49 -0
  12. package/docs/functions/encode.md +3 -3
  13. package/docs/functions/encode32.md +45 -0
  14. package/docs/functions/encode58.md +45 -0
  15. package/docs/functions/encode85.md +45 -0
  16. package/docs/functions/hello.md +1 -1
  17. package/docs/functions/parseUserAgent.md +1 -1
  18. package/docs/functions/pojo.md +1 -1
  19. package/docs/functions/popcount32.md +27 -0
  20. package/docs/functions/popcount64.md +31 -0
  21. package/docs/interfaces/FileSystemDependencies.md +3 -3
  22. package/docs/interfaces/FindDirectoriesOptions.md +5 -5
  23. package/docs/interfaces/UserAgentInfo.md +6 -6
  24. package/docs/type-aliases/Base32CharsetType.md +13 -0
  25. package/docs/type-aliases/Base58CharsetType.md +13 -0
  26. package/docs/type-aliases/Base64CharsetType.md +1 -1
  27. package/docs/type-aliases/Base85CharsetType.md +13 -0
  28. package/docs/variables/Base32Charset.md +16 -0
  29. package/docs/variables/Base58Charset.md +16 -0
  30. package/docs/variables/Base64Charset.md +1 -1
  31. package/docs/variables/Base85Charset.md +16 -0
  32. package/package.json +52 -8
  33. package/readme.txt +30 -4
  34. package/src/base32.d.ts +58 -0
  35. package/src/base32.js +143 -0
  36. package/src/base32.test.d.ts +2 -0
  37. package/src/base32.test.js +121 -0
  38. package/src/base32.test.ts +144 -0
  39. package/src/base32.ts +169 -0
  40. package/src/base58.d.ts +58 -0
  41. package/src/base58.js +155 -0
  42. package/src/base58.test.d.ts +2 -0
  43. package/src/base58.test.js +108 -0
  44. package/src/base58.test.ts +128 -0
  45. package/src/base58.ts +177 -0
  46. package/src/base85.d.ts +58 -0
  47. package/src/base85.js +173 -0
  48. package/src/base85.test.d.ts +2 -0
  49. package/src/base85.test.js +107 -0
  50. package/src/base85.test.ts +125 -0
  51. package/src/base85.ts +199 -0
  52. package/src/bits.d.ts +43 -0
  53. package/src/bits.js +117 -0
  54. package/src/bits.test.d.ts +2 -0
  55. package/src/bits.test.js +62 -0
  56. package/src/bits.test.ts +77 -0
  57. package/src/bits.ts +135 -0
  58. package/src/index.d.ts +9 -2
  59. package/src/index.js +5 -1
  60. package/src/index.ts +26 -2
  61. package/.github/workflows/npm-publish.yml +0 -36
  62. 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)