{"_id":"soso-kit.utils","_rev":"32-88a8a5515e6978a02ad28413c699aeac","name":"soso-kit.utils","dist-tags":{"beta":"0.1.9-beta.0","latest":"0.1.18"},"versions":{"0.0.1":{"name":"soso-kit.utils","version":"0.0.1","_id":"soso-kit.utils@0.0.1","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"771fca63f1d884635dcb62b56ad07bb80b03753b","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.1.tgz","fileCount":54,"integrity":"sha512-8Mo6i2SArclrhgFEX2SDWiCVVh2DTX90q+OsoHFbQWR87xd+ZP9KBOkw87u/j8ea3ZSDh8RgYpYpYhCY9d0L2w==","signatures":[{"sig":"MEUCIGo4MQNhn64zimSl2BbNGfVSHsroX1d3CWxUOq+IHAACAiEA5KSXdshqnEaBSygZrs1SMVi4yh8wJAE+sfnVWEpFP3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82801},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"76b0f6e88954b7ff073b775246aa8dab6d015e77","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.1_1708243011489_0.4540693372699316","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"soso-kit.utils","version":"0.0.2","_id":"soso-kit.utils@0.0.2","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"42374a572d26dd45374b9ac50ab8d0917cbad59c","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.2.tgz","fileCount":54,"integrity":"sha512-XEWA5EZkjifoyLjlhC6gk+FXttx12wWCe1eShFJgASmoGzuUZ8W/Lh+YIUAYRxS/F2YZrwY2u941cckyizTXoQ==","signatures":[{"sig":"MEYCIQCmn3hkJkBhjno+IbI4LoiDvnfPngrM9Yzb2ZTJLEsHVgIhAMxJ/+zAdmUQ2QIh1qhSV1qvC5XS74pdbdCB4a5f1acE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83273},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"76b0f6e88954b7ff073b775246aa8dab6d015e77","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.2_1708244230631_0.952571659584025","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"soso-kit.utils","version":"0.0.3","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.0.3","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"e2343d5ff5aff58fd0b97f17516a177d02914401","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.3.tgz","fileCount":54,"integrity":"sha512-YsGcqALtQElHPuldzertnA6whr/vkyPnhDsAhv7di+8sTzMu+4ULtXI1DoBzjejl08oqilFptWoK3z4T+qjx7A==","signatures":[{"sig":"MEUCIEeCEh5uh/QPNUjlxjlVyF3NuLiW7MBaXkMlJVkphc1GAiEAxAoYDH/UOo0gAQVa5DB75stmeU32amSwcFSOm+7yZTQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83357},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"7f64ea5c444bc9e1381cd8bd1d4586acc7de3545","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.3_1710417372602_0.9695242051545772","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"soso-kit.utils","version":"0.0.4","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.0.4","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"d73bcb8e608e80d22b5db7a5e9c86f13999d6e0f","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.4.tgz","fileCount":62,"integrity":"sha512-M/qBqxPZK/u7SmJJG1i/Dm4If9pPW4ONIt6i8P0F53HO1ILypoWnPoI84gV0K4HCO6DhcU8AYkyBAeiKTDIWUQ==","signatures":[{"sig":"MEUCICxTWeQLoaP8zFoIJ9bg6/O5kzphLUlr0YUZQHbbsh44AiEAyNA8kVcvYuxsolD08DyqNQ2pAqj510eJtpB/vSPVggI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101559},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"6c3554f9e341f5db1588f780ba9e1c8d59565045","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.4_1710418082348_0.7810909757926063","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"soso-kit.utils","version":"0.0.5","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.0.5","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"144920e8ce4591615c3429de9dd12b0e481718af","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.5.tgz","fileCount":62,"integrity":"sha512-rDk6TvOzxxEZthlk7i8+Tm4/A1EmduNj+KRWfixC6eE1m59VAsfVabakYHMv40kZ+fe2zvwjBIzvfnUEUS7yXA==","signatures":[{"sig":"MEUCIAJkH4qRu6i/9aK8na2MFtGaul2Kb5NAEEyU7PU7AAhhAiEA7Gu5DQ4hyWSWUq6T0JiBsHlFuQm8laX72KUgUl7r0nc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101675},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"6c3554f9e341f5db1588f780ba9e1c8d59565045","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.5_1710465943881_0.9690802246311438","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"soso-kit.utils","version":"0.0.6","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.0.6","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"ae6da0e15ec8a8de220b0e1854f6f3d091d5e770","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.6.tgz","fileCount":62,"integrity":"sha512-T7kbdj7MYAYfBWEu8j0SWGmLum6Lum2fNXjYvXz1pJ1fArzG4nPNmz0jZ51XqvteViBOkgsd7SVyHr87X0DOoA==","signatures":[{"sig":"MEQCIEr1svWbctNYMSwmAsbnMvnM2ehzK2FCsxRBymH6z0LpAiAQwElPC5ajie+PdDmtWBbFCNvtpEhGIW5EVgMugNGbhg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103442},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"6c3554f9e341f5db1588f780ba9e1c8d59565045","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.6_1710471949722_0.7197263182003768","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"soso-kit.utils","version":"0.0.7","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.0.7","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"838df3b0dccc4e390c65c678979e448e6b2e1c71","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.0.7.tgz","fileCount":62,"integrity":"sha512-ARgzpK0LKUH9qpmvgs/obvyh1C6qcd7K2Mxs1INn4fr+0khv+xPSyR1RhyVyD50yZV45ZjGn92bZWUjSR9xoBA==","signatures":[{"sig":"MEUCIQCBHULFL1aJQT6oneaSCrVOpRDMUCJ/aw8ZprsCrIw1dQIgTPjDDb4FTVSgYAakyVPKZBqflyyCwVE+BuGU3PwBJi0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105218},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"6c3554f9e341f5db1588f780ba9e1c8d59565045","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.0.7_1710473141930_0.1319661302783699","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"soso-kit.utils","version":"0.1.0","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.0","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"1a7448b52a43f3620b7b0f23b30a84966e02c8d5","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.0.tgz","fileCount":62,"integrity":"sha512-bC8lfe0Nw8habU+KuvBeUxonjAZKJo6/dv4Jp1u9DWUUKrMEfISX10Abce58mmF+A4Vn+iPxTlVAsG0lpobL3Q==","signatures":[{"sig":"MEUCIQClp3+5E0+Z0WEsx74cpagdC+MRnySQqqy9kHAIMA9wcwIgQY0axWa7iRXBcPCZth+pHN+5TYrwE8Gyp+rhXm/o4Ww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104242},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"6c3554f9e341f5db1588f780ba9e1c8d59565045","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.0_1710482072863_0.9016580282511444","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"soso-kit.utils","version":"0.1.1","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.1","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"6615939edd2305007b35d00606dff8f7ca8ccba4","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.1.tgz","fileCount":62,"integrity":"sha512-FBkUAenxZAmctquH2X1dSgXdlIccPBiF8kwQ/Qr5y109YWGa/oIxYZhVj370Wvz1xE1XVT7nK7eIux5WUwinyg==","signatures":[{"sig":"MEUCIAqVBnY78DSUWN0VXr7KfD5heWE6nVtfHs3s1m81RT+VAiEAklc06nKDDimnRao+EAF1gdXK5U0DCXsfRaEP3EjgKaI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105022},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"c2b69dad298713d195a7aa7cc3022998380f1363","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.1_1710484586767_0.4284063625994461","host":"s3://npm-registry-packages"}},"0.1.1-beta.0":{"name":"soso-kit.utils","version":"0.1.1-beta.0","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.1-beta.0","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"61cda703d328f445003e59ece3bfc08098835728","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.1-beta.0.tgz","fileCount":66,"integrity":"sha512-z+/Jz1TKEtM0DhJLxsoA4eBg2HlQEj9TOcqre4i4oj5hxwvvp/n4wikTnvOnFW5H7chKbnhLOL0Cz87i9SkIIQ==","signatures":[{"sig":"MEYCIQCjznSX64YZTn5GbGQ1B0pLXssLcMxHKfdlNwpEO3kLGwIhAPS3KBtWU4iZOVbSEF9xBmZYt8x+FqjsLtPPadopSWxC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112380},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"32d6b2740d40bf6e5ecf85e6aeb81eea80d081ec","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.1-beta.0_1710846280064_0.9060124493856716","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"soso-kit.utils","version":"0.1.2","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.2","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"2492ff80895ba405eb6e38424eaa530aaebc1f3b","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.2.tgz","fileCount":66,"integrity":"sha512-SK16lu+UHFjJ4LBqxxaIdE0zkGX2NU93nLgcXFXVuWbf7kI7CkQl9S9cZkiKE6tiScQBbOUnPfUAl2xo+22Zeg==","signatures":[{"sig":"MEUCIE6w6Po1/VLpW+FcaU7rTPGFcOmNrrqDb4fUU9miL9epAiEA5ZJvF1n+uQYxgHQb10EHKzskmFXrBYbiXz4CZQuKKgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115655},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"32d6b2740d40bf6e5ecf85e6aeb81eea80d081ec","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.2_1710849779140_0.8430361216896252","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"soso-kit.utils","version":"0.1.3","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.3","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"e1983413acf8ae970f3bda4a587543949f553851","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.3.tgz","fileCount":66,"integrity":"sha512-wj6yNnrsWkqObosVHTgTWppLrjnMGjFfh5hN/NjGs9jxN+B9vL1ox5vpkGMOZXuEK9qRUHbqBBYI03S1PUnFnw==","signatures":[{"sig":"MEUCIQC+FlzSaFRDBv0olzk8bcE8zIU3ffaXGIpI5lDfVpseBgIgBGghUwkv5hMdeQ3vZY/5uUbPC/naKILKVtlRfwvYSoM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114795},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"90a041ce5010e58627483a11f27774a1d89844f0","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.3_1710850134532_0.4831029557122415","host":"s3://npm-registry-packages"}},"0.1.3-beta.0":{"name":"soso-kit.utils","version":"0.1.3-beta.0","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.3-beta.0","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"4fd12e1c557dec92ae0524d3ef311ca6d64af1b3","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.3-beta.0.tgz","fileCount":66,"integrity":"sha512-rRjCAnxhTQdwV4U2/LFCberkfSmRcZar92IUr1wKBgiuiAoYrUScJI/mXbe9UNQF7oSqLpjX1ZSc5avsPVdI3A==","signatures":[{"sig":"MEUCIG6srA0AQHXqzvbAhAi5KtJ3wvUbhX9UK89MowPm9+n6AiEAn96IOfh8hxfC3SHh2DWr2m1a9dorRGYwdJ/lKELPOs0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115082},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"90a041ce5010e58627483a11f27774a1d89844f0","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.3-beta.0_1711099559852_0.0877438164505846","host":"s3://npm-registry-packages"}},"0.1.3-beta.1":{"name":"soso-kit.utils","version":"0.1.3-beta.1","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.3-beta.1","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"df5e54fdf8eec498387b8d951e479fa67176fb6b","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.3-beta.1.tgz","fileCount":66,"integrity":"sha512-+hi3HZa+z2/DYVxC4zO/aBZ8lEmsCclX1TqF0cPYr30ocPLbcAI7F0OvicNMR5ZZYiMeJbHNRpljO1i63ldbgg==","signatures":[{"sig":"MEQCIHcpLgajcME76q2NUuwmwm42Ea6QkOT0Iu4ZSmIQd2htAiASRCtew+8yARMFkDT5wqWi09R2o1tlUINkKdADh+xOXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115316},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"90a041ce5010e58627483a11f27774a1d89844f0","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.3-beta.1_1711100578307_0.535575819322152","host":"s3://npm-registry-packages"}},"0.1.4-0":{"name":"soso-kit.utils","version":"0.1.4-0","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.4-0","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"9e4c730d4cbe745e2bbae94b02e2eedc05f47fc2","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.4-0.tgz","fileCount":66,"integrity":"sha512-bQ40OpDScV0xyR0EjJGDbhzV4CNJwRLXAE2dKMCd80sh3v9tH9VJijlwoA8483UyCDaPhfEzyl2WjoBH7R2MgQ==","signatures":[{"sig":"MEQCIAUj27c1rQg7RnAF5veAjgbFIDxo1avrBB4lyseQKIbTAiBG5ThYNYe8yHoGRD7mXz/vKwsBiw669NW1qDJBCddiSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115225},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"90a041ce5010e58627483a11f27774a1d89844f0","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.4-0_1711100792056_0.3538224325621415","host":"s3://npm-registry-packages"}},"0.1.4-1":{"name":"soso-kit.utils","version":"0.1.4-1","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.4-1","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"687bf70103cd45a2979692cad41bfd6a8158e04e","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.4-1.tgz","fileCount":66,"integrity":"sha512-hAPcGG/wAUPP7oBBiAzjjv7paIhUQOBfHIIcForWqqrjURAKB8b5TEkUIy1OlfzIzCquZmc/dpSp8RkxD+Sg8g==","signatures":[{"sig":"MEUCIQCws6YjABNr1RUyvwx0k/xwRGsSRV5rW11g1lp9K8WumwIgOBXLpcYeW4caFndDlOsZHHpxAVr1B6GG13VdgmvGYOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115225},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"90a041ce5010e58627483a11f27774a1d89844f0","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.4-1_1711100842842_0.5138680797353408","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"soso-kit.utils","version":"0.1.4","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.4","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"819f9d5c5fe1e80de3ccbe84ea4fe68d1c783ce9","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.4.tgz","fileCount":66,"integrity":"sha512-oazgU4lW8GRxqZ+t6gyAu4+2XnBStK+KWTivm9XBAjhGZlnAqMkCVLWjnHcKjQwbkrHDV1MfMghZ8sFnepoFCg==","signatures":[{"sig":"MEQCIDim7AdSNCz6Ym8AgTmzqOwNSKJur/cqrPprR3NSJQt6AiAz+kS670R3Anduz+VaKSLuDvbL0rgg503E2kkkiENnag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115223},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"90a041ce5010e58627483a11f27774a1d89844f0","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"8.19.2","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"18.10.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.4_1711100852558_0.6404515085098061","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"soso-kit.utils","version":"0.1.5","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.5","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"e87f256676c1f56576464d1b305e38747a6bf064","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.5.tgz","fileCount":66,"integrity":"sha512-ARHDQSd1Ul367jI1mEM47OIhEG9iEQN7wjU1FGMvs3CWucczgpd6zn9oRpM4p3MAL31VBsO+AF2PNhTPVV7uIA==","signatures":[{"sig":"MEYCIQDkfic/eLFX0jtQLVg61RoCm19ZRilQBNbMNIdA8KAUfQIhAP9K7OjvsNzYcDeaFPqblfggDfh+oXdYcbF9+OpkPZ9r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115543},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"07b22966c5785b333de5ec7c3a86aeff49228cb6","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.5_1716809894899_0.5593288316558767","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"soso-kit.utils","version":"0.1.6","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.6","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"160841102ff69127d8722a762898c6f4ac563c49","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.6.tgz","fileCount":66,"integrity":"sha512-o87FF60YWiyvd7M/TzLYkwl4ZxK42sff2ti4Dj6XanyQn4+uY0odrY4VKqszSbPAHT5FxvKsckaOliE27XK2YQ==","signatures":[{"sig":"MEYCIQDaXfFhRd4fgetS1Ux4yuYN0biQzeVQ5ctcNCmg9FSmhgIhALzgkRkBpoIXP4AMJ5Un91t14j8iCJo4d37CKqCOhnlU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115785},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"07b22966c5785b333de5ec7c3a86aeff49228cb6","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.6_1716810984976_0.4916865053104402","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"soso-kit.utils","version":"0.1.7","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.7","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"29a568039b630b014f00c8e96f94f0118dd2c615","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.7.tgz","fileCount":66,"integrity":"sha512-uwrxTFSvl3XCfDb53uu1GlPteLxdxXjTp8jTpLhCycE9+Cbq5Jt9E6CwsoqHseQNjKlXCWENBMOvMFnReAKa+A==","signatures":[{"sig":"MEYCIQDCANk8p5LurWvI0keGbd7EYRihGvVYcEu8WhtZKQOeEAIhAN0frQYCgMvzyPSuDZwa2P2XWvAkV/E9Dq+MC+faqO5v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115811},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"07b22966c5785b333de5ec7c3a86aeff49228cb6","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.7_1717480322199_0.5695580035161953","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"soso-kit.utils","version":"0.1.8","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.8","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"f4a5bccad2ce2c7e9c39f644a85cfd29ae6bf134","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.8.tgz","fileCount":66,"integrity":"sha512-tZTB7JVMPYL+tsLZlCyBbqOnZ6EVUZ0dw2/466Usfx52s3Phf0Kq4dL1i/GR05uIaEfqMYR+bLnFBo7yyMZlHw==","signatures":[{"sig":"MEUCIH9+y4qEPxL376VT7SV4b/Lnt9DwpQVDHCKPuXXpqLlrAiEAgkZ9AkkZHlqw36zsI/0BdSeFHumzn6n/UnoqvPfiBsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115837},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"07b22966c5785b333de5ec7c3a86aeff49228cb6","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.8_1717481003641_0.0782929111117705","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"soso-kit.utils","version":"0.1.9","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.9","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"b91363513d84899172b291d902b43f691ad2786b","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.9.tgz","fileCount":66,"integrity":"sha512-4i4h6mlHarz7RJplX+Gez+7I787LlXy3ojZm7eP6Vhcp5HUbrTAbNF/96vFjxHebV2oeK/0RyFCREYcx5btExg==","signatures":[{"sig":"MEUCIQCr29hOWN/8XXYa+BHUnEDU3ChIQg7SYZ5/cKL1omfxHwIgfvdUy4VJeHxxBbrzpVlv9jaqKBNu1MF4imB3nWJHFnE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":116171},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"940d13653365600bb31eeb901845c4359f9f21c5","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.9_1717730971270_0.8816198193583804","host":"s3://npm-registry-packages"}},"0.1.9-beta.0":{"name":"soso-kit.utils","version":"0.1.9-beta.0","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.9-beta.0","dist":{"shasum":"eb4a9bf7eb445a220b1371c1c97532b60b3160a9","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.9-beta.0.tgz","fileCount":66,"integrity":"sha512-CSUJKmS7PiPc+hlxDhiqu/1/kL2hckXyqUsCJI7hWx6eAwDYyQo3MTK59DhKkPbQ+9xHa8tvuxu272fY37p/GQ==","signatures":[{"sig":"MEYCIQDRmQhEjg4HVlmffblLpxx53/15r8lokVp2mpS+HV8cXgIhAKSBUpxZHHeSHPyTN28bpAbMxMHJGxADuXOHkYaAF1XX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123713},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"f2ffc501d2dc59b70605222b89c8dabf3f730b66","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.9-beta.0_1718897336549_0.8375482135170025","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"soso-kit.utils","version":"0.1.10","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.10","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"de04862d77785060b213ca1d4d980b84f10390b5","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.10.tgz","fileCount":66,"integrity":"sha512-DSU1o0s2Zo8dwvh6BJTm/bFh5ta7A/xrD56hoR7maKlcrlsJOBSm1htjQSS4qQ++DRwLyMMANcIujjdCG/YymA==","signatures":[{"sig":"MEUCIQDuRwP00nd4NwcJM1IfJMdchEQGxaDHcJM15fc2PK64SQIgVe4NBXr/yj8Dpuu9LOICoXKieK7EF6/TtQ837OpakPY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124762},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"f2ffc501d2dc59b70605222b89c8dabf3f730b66","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.10_1721786780974_0.8961111537063577","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"soso-kit.utils","version":"0.1.11","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.11","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"9a9a708082ff4e8f5f11a46408c980540cba3848","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.11.tgz","fileCount":62,"integrity":"sha512-IzKiljlXKvZcWpMJsO7CtJLwPrgg8XNPMdEkAGbFpxFUPsxepUW+8JYaWd90R4O86r0WWFakhDaaOjnXrt/uQw==","signatures":[{"sig":"MEYCIQCzpYZtyP1l3/r+KGCUbP6ToqK2l1zMC8dm3TKwa034EwIhANO1I1HM2enZWNcd4i8VlNCOX0bzf6fhjef9hY+zUX3a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111254},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"3cae1a2a2ab39ec1cf24b01cf15f4652eadda9d6","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.11_1723563953009_0.5141712266510772","host":"s3://npm-registry-packages"}},"0.1.12":{"name":"soso-kit.utils","version":"0.1.12","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.12","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"9b7df0396424c65ae517803d57186fa9887f454c","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.12.tgz","fileCount":62,"integrity":"sha512-7N5N4l7oq597DbBBwKUPrswXJnn9HJwaOVqOPKBHLIy+NjXMXKLRbLMRCfltOZ7b8jU4r769lsNEFIex3gyQBw==","signatures":[{"sig":"MEQCIGS7Ps3NMMSNkaye6mJQTZAB5uM9deT5m8euGXAwEqPCAiBwf+v2+toZfjr6ZMyvGNIloqs+vpeOi9E6idEZvk/NhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111688},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"4779916f14a05209cd59860fefad83de4e3f8722","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.8.1","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.16.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.12_1723687369900_0.6218986743749364","host":"s3://npm-registry-packages"}},"0.1.13":{"name":"soso-kit.utils","version":"0.1.13","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.13","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"23de478558d7460752ccd57c3b28f2706a14aa6d","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.13.tgz","fileCount":66,"integrity":"sha512-mu3HfZFRscTNLoFDebOPOmjgg75zx9VqrNWrwIDgQ44zXIXBFefbJrH2PvnPANWLrdEJlzbSP6EtHcrnrfoMkA==","signatures":[{"sig":"MEUCICU1TlYP8kj4lyxuCj4yhMyCQhT298rCXzms60dj1Vq2AiEA+Xc1y6nMWJOd/FB3FM3yC1w26d7btH3QClWWVstVPSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114040},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"8f7a57dc169c533ca5b687f2ea61ad48bd5bdebf","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.13_1724221140626_0.472852700406283","host":"s3://npm-registry-packages"}},"0.1.14":{"name":"soso-kit.utils","version":"0.1.14","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.14","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"25ca88c363247d3478df6be046c0f02c09dd0e10","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.14.tgz","fileCount":70,"integrity":"sha512-dCkN7PE8gOQOFHiRN39Rpgshc696UnBGYl0fVeQDZMkjQI9S//Wh6Ra1NOcMKa3Sa+nH3aO1DYmxH1MCEai14g==","signatures":[{"sig":"MEYCIQDnWwFrUjGckcf+ei3jFbE5Jv5BnV7AQ4cTyjT0uZyQWwIhAO/BX51+iYCpdIQgxxiyDa/6yViWmqcf0rjpSaNjTpUP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":116232},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"8f7a57dc169c533ca5b687f2ea61ad48bd5bdebf","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.14_1724229365809_0.5095158097270378","host":"s3://npm-registry-packages"}},"0.1.15":{"name":"soso-kit.utils","version":"0.1.15","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.15","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"ce2b3d31317aac05771b79d10c24f291fd57a404","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.15.tgz","fileCount":70,"integrity":"sha512-30gHDtVXgZJcMYjcOJyw1qh98unEssSgz4j+tl+ASu98Os6UecPKzphRzpPjtcteEldUFGEkVEtRbA7V4nV/jw==","signatures":[{"sig":"MEUCIEtsaS6yWK44NtQdSp7k3ToYAXwcuIRXJ0tm5/FSPPZ3AiEAuYyIOIQYSdISrd2u3sVVFopQABb3f5EVJYfFrVUx1GQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":116234},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"8f7a57dc169c533ca5b687f2ea61ad48bd5bdebf","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.15_1724229529575_0.018940046463724602","host":"s3://npm-registry-packages"}},"0.1.16":{"name":"soso-kit.utils","version":"0.1.16","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.16","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"0fe0e73ca1dbdb1cdbd6c6dafce96194d40d062e","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.16.tgz","fileCount":70,"integrity":"sha512-ca1+YV1234fOT47gRP84fMdUvTIo5V0exo7v77cHl2bNBhHHghRRo2VF4Efz64Ic5Qvq7LSyMbB8qGq0pN5rsA==","signatures":[{"sig":"MEYCIQDfKPm2zV2KFZi6KCNHshRTLmPkdPlhgFICUum9BG3nlAIhAIK4IO4liFdC1GRFrn7zcJtpIzfY0JtSnX98LUuwokeo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115838},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"9878d8286209d29b1959c755af7051e7045ed696","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.16_1741171792329_0.935967743241527","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"soso-kit.utils","version":"0.1.17","keywords":["typescript","fetch","N18n"],"license":"MIT","_id":"soso-kit.utils@0.1.17","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"dist":{"shasum":"7a71fe7f6fd033811ef52ba37bf0f40f5da14af7","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.17.tgz","fileCount":70,"integrity":"sha512-pud7XprjimajvzLH3JRQA+NgglT/KF7RBgyuFFmk7vHV08JYNk8qNt/v9wRmItZIrOX7CAiS13Ygd2Q9Dr4ZcQ==","signatures":[{"sig":"MEUCIFyOwwIH+ZmwFry93DpRJg8heBkkpOf3y6G0n2cgEs9tAiEA5TD/tOyNKKEZZDGuiiu6zSsJV/dd/ErLv1uVGKFhQNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126289},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"53fb4d1f08c2dba5c5c4d5df99d657a2db0523c7","scripts":{"beta":"npm publish --tag beta","docs":"vitepress dev docs","alpha":"npm publish --tag alpha","build":"tsup && tsc-alias","release":"npm publish"},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"_npmVersion":"10.5.0","description":"簡單的開發套件之常用工具","directories":{},"_nodeVersion":"20.12.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/soso-kit.utils_0.1.17_1741172239437_0.09741641251178623","host":"s3://npm-registry-packages-npm-production"}},"0.1.18":{"name":"soso-kit.utils","type":"module","license":"MIT","version":"0.1.18","description":"簡單的開發套件之常用工具","keywords":["typescript","fetch","N18n"],"scripts":{"build":"tsup && tsc-alias","docs":"vitepress dev docs","beta":"npm publish --tag beta","alpha":"npm publish --tag alpha","release":"npm publish"},"exports":{".":{"require":{"default":"./dist/index.cjs","types":"./dist/index.d.cts"},"import":{"default":"./dist/index.js","types":"./dist/index.d.ts"}}},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","dependencies":{},"devDependencies":{"bun-types":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"_id":"soso-kit.utils@0.1.18","gitHead":"e7921e2d6fa96a31c12d8ecd801b1454d0e6d023","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-HOm/C0DvAd+8sYaqsbpyh0gOxfDc8bd2+GkvpG1FpfFMVDNDNQK97pwiG7VhpMoDOUcrf7scEUXvo0+K4D51Ig==","shasum":"a8dd95e11dc359d475ac85da728edc138485af43","tarball":"https://registry.npmjs.org/soso-kit.utils/-/soso-kit.utils-0.1.18.tgz","fileCount":70,"unpackedSize":126381,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID2z99G/dWRSb2DVzesRMK6oNd9prG9iYPQ9dTINxmXTAiEAgX300o4cgM8TtMjNd3LVPNn8ZAFaf30qdE2Q3puXtHU="}]},"_npmUser":{"name":"link2c","email":"kuroko.link@aliyun.com"},"directories":{},"maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/soso-kit.utils_0.1.18_1741507211899_0.7142345623954882"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-18T07:56:51.489Z","modified":"2025-03-09T08:00:12.340Z","0.0.1":"2024-02-18T07:56:51.628Z","0.0.2":"2024-02-18T08:17:10.794Z","0.0.3":"2024-03-14T11:56:12.739Z","0.0.4":"2024-03-14T12:08:02.501Z","0.0.5":"2024-03-15T01:25:44.115Z","0.0.6":"2024-03-15T03:05:49.911Z","0.0.7":"2024-03-15T03:25:42.125Z","0.1.0":"2024-03-15T05:54:33.006Z","0.1.1":"2024-03-15T06:36:26.931Z","0.1.1-beta.0":"2024-03-19T11:04:40.271Z","0.1.2":"2024-03-19T12:02:59.312Z","0.1.3":"2024-03-19T12:08:54.702Z","0.1.3-beta.0":"2024-03-22T09:25:59.980Z","0.1.3-beta.1":"2024-03-22T09:42:58.474Z","0.1.4-0":"2024-03-22T09:46:32.198Z","0.1.4-1":"2024-03-22T09:47:23.008Z","0.1.4":"2024-03-22T09:47:32.729Z","0.1.5":"2024-05-27T11:38:15.043Z","0.1.6":"2024-05-27T11:56:25.130Z","0.1.7":"2024-06-04T05:52:02.381Z","0.1.8":"2024-06-04T06:03:23.810Z","0.1.9":"2024-06-07T03:29:31.444Z","0.1.9-beta.0":"2024-06-20T15:28:56.733Z","0.1.10":"2024-07-24T02:06:21.216Z","0.1.11":"2024-08-13T15:45:53.163Z","0.1.12":"2024-08-15T02:02:50.110Z","0.1.13":"2024-08-21T06:19:00.825Z","0.1.14":"2024-08-21T08:36:06.092Z","0.1.15":"2024-08-21T08:38:49.798Z","0.1.16":"2025-03-05T10:49:52.495Z","0.1.17":"2025-03-05T10:57:19.641Z","0.1.18":"2025-03-09T08:00:12.160Z"},"license":"MIT","keywords":["typescript","fetch","N18n"],"description":"簡單的開發套件之常用工具","maintainers":[{"name":"link2c","email":"kuroko.link@aliyun.com"}],"readme":"# soso-kit.utils\n\n前端開發中非常簡單的工具封裝庫，該庫為子庫，內置工具如下\n\n- [x] 網絡請求 `Request` - 基於 `fetch` 支持瀏覽器和 `node`端\n- [x] 國際化 `N18n`\n- [x] 顏色處理 `RGBA`\n\n如何安裝 - To install dependencies:\n\n```bash\n# npm\nnpm i soso-kit.utils\n\n# bun\nbun install soso-kit.utils\n\n# yarn\nyarn add soso-kit.utils\n\n# pnpm\npnpm install soso-kit.utils\n\n```\n\n## 文檔 - Doc\n\n### `Request` - 網絡請求工具\n\n基於 `fetch` 封裝的網絡請求工具，支持請求攔截，支持報文處理中間件\n\n#### 例子 - demo\n\n```ts\nimport { request } from 'soso-kit.utils';\n\nconst api = (param) => request.get('api/xxx/xx', param);\n```\n\n### `N18n`\n\n基於`String`類封裝的字符串工具，適用各種前端框架的國際化工具。它不依賴任何前端框架\n\n#### `N18n`例子 - demo\n\n```tsx\nimport { useState } from 'react';\nimport { N18n, Word } from 'soso-kit.utils';\n\nconst n18 = new N18n({\n  zh_CN: {\n    你好: '妳好',\n    操作: {\n      登錄: '登錄'\n    },\n  },\n  en_US: {\n    你好: 'hello',\n    操作: {\n      登錄: 'login'\n    },\n  },\n});\n\nconst list = [n18.translate('你好'), n18.translate('操作.登錄')]\n\nfunction App() {\n  const btn = {\n    label: n18.translate('操作.登錄'),\n  };\n  const [count, setCount] = useState(0);\n\n  return (\n    <div className=\"App\">\n      <h1>Vite + React</h1>\n      <div className=\"card\">\n        <button onClick={() => {\n          setCount(v => v + 1);\n          n18.language = ['en_US', 'zh_CN'][count % 2] as ('zh_CN' | 'en_US');\n          console.log(n18.language);\n        }}>\n          {`${btn.label}`} {count} <span>{btn.label}</span>\n        </button>\n        <p>{list[0]}</p>\n        <p>{list[1]}</p>\n        {list.map((x, i) => (\n          <p key={i}>{x}</p>\n        ))}\n      </div>\n    </div>\n  )\n}\n\nexport default App\n\n```\n\n### Api\n\n#### `constructor`\n\n構造函數\n\n- 支持設置詞典，該詞典會影響後面 `t` | `translate` 參數提示功能\n- 如果沒有設置詞典，也可以通過泛型替補參數提示功能，後面需要自己手動執行`.setup(dict)`設置詞典\n- `dict`構造參數詞典第一層必須是多語言的標識，如: `zh_CN` | `en_US` | `zh_MO` 或者 `zh-CN`等，該值與切換多語言時一致，不能在設置時用 `zh_CN`，在切換時用`zh-CN`。第二層之後可以自用設置，你可以全部單詞放同一層，也可以根據自己需要，進行單詞嵌套以獲得更好的管理。\n- 詞典支持參數，取值需要用`{}`包裹，如 `hello, {name}`，`name`為翻譯時需要傳入的字段，如果不傳，則默認為空字符串  \n\n```ts\nconst dict = {\n  zh_CN: { hello: '你好' },\n  en_US: { hello: 'hello' },\n};\nconst n18n1 = new N18n(dict);\n\nconst n18n2 = new N18n<typeof dict>();\nn18n2.setup(dict);\n```\n\n#### `t` | `translate` - 翻譯單詞\n\n```ts\nconst dict = {\n  zh_CN: { hello: '你好', 問候: { 早上好: '早上好，{name}' } },\n  en_US: { hello: 'hello' },\n};\nconst n18n = new N18n(dict);\n\nconst text = n18n.t('hello');\n\nconst message = n18n.t('問候.早上好', {name: '小明' });\n```\n\n- `t` 是 `translate`的別名，這裡為了簡短方便，二者並無二致\n- 參數為單詞在字典中的索引，如上面的 `hello`，`問候.早上好`\n- 支持動態參數，參數需要與詞典中定義的字段保持一致\n- 如果傳入的單詞索引不存在，則返回該索引（在ts環境中，會直接提示不存在該索引的，所以請用ts吧😁）\n\n#### `language` - 設置語言\n\n- 用於切換當前語言\n- 會觸發切換事件，相關訂閱事件會被執行，詳細見下一段\n\n```ts\nconst n18n = new N18n(dict);\n\nn18n.language = 'en_US'; // 切換語言\n\nconsole.log(n18n.language) // en_US\n\n```\n\n#### `book((language) => void)` 訂閱切換語言事件\n\n```ts\nconst n18n = new N18n(dict);\n\nn18n.book((language) => {\nconsole.log(language) // en_US\n});\n\nn18n.language = 'en_US'; // 切換語言\n```\n\n#### `dispose((language) => void)` 取消訂閱切換語言事件\n\n```ts\nconst n18n = new N18n(dict);\nconst book = (language) => {\n  console.log(language) // en_US\n};\n\nn18n.book(book); // 訂閱事件\n\nn18n.language = 'en_US'; // 切換語言\n\nn18n.dispose(book); // 取消訂閱\n```\n\n#### `init()` - 初始化 - 為了方便使用而提供的方法，也可以用其他方式代替\n\n```ts\nconst n18n = new N18n(dict).init((instance)=>{\n  // instance === n18n\n  instance.language = 'en_US'; // 設置默認語言\n});\n```\n\n#### `extend` - 擴展實例 - 擴展詞庫\n\n有時候在開發庫時定義了一些內置單詞，在項目中使用時想節省重複定義這部分單詞的工作，可以使用`extend`來擴展，相關的訂閱事件也會同步過來，不用擔心會影響原來的功能\n\n```ts\n// package: utils\nconst dict = {\n  zh_CN: { hello: '你好' },\n  en_US: { hello: 'hello' },\n};\nconst n18n = new N18n(dict);\n\nexport { n18n };\n```\n\n```ts\n// package: project\nimport { n18n } from 'utils';\nconst dict = {\n  zh_CN: { bye: '再見' },\n  en_US: { bye: 'bye' },\n};\nconst myN18n = n18n.extend(dict);\n// 可同時使用以下單詞\nmyN18n.t('hello'); \nmyN18n.t('bye');\n```\n","readmeFilename":"README.md"}