{"_id":"@ayonli/jsext","_rev":"171-124854461d475513c236a5679072430f","name":"@ayonli/jsext","dist-tags":{"latest":"1.9.0"},"versions":{"0.1.0":{"name":"@ayonli/jsext","version":"0.1.0","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.1.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b7bfc799581d56ecc70dd8cdbd914f22ac798ebb","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.1.0.tgz","fileCount":40,"integrity":"sha512-WjPzjKnV8QEMUBoZjiURs8QrvHaHaEnynUlDBEicweNqR5RgetFajxv48dBLEAZj4oOo4x90RD7FCTLgebz73Q==","signatures":[{"sig":"MEYCIQDcZRtpfMaiELAaGP6K5+jxrtVnyQYjmnBv212TWK+D9QIhAI1NRdW70TfTCe0Eyh0Lu5DWHYZNsW7i0Ny1X/n/Hmeg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70715},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"d9cbc66c379c84005e20e005b730759bc5da57fe","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls collections/*.js|xargs rm; ls collections/*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.6.6","description":"Additional functions added to JavaScript standard types that are frequently used in practice.","directories":{},"_nodeVersion":"20.2.0","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.1.0_1694451040443_0.6215449327680935","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@ayonli/jsext","version":"0.1.1","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.1.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"c50da75ebefb4585d4b194a7cceae8d3d436776c","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.1.1.tgz","fileCount":40,"integrity":"sha512-VU/xTqf9jqfaUlugg6Strw5Kes2zL/IU5i7/J6UZxg8J/XV1CT4HcoK1Sv/46tTr4yms1FUfIHeRhrmN85oItw==","signatures":[{"sig":"MEUCIFZuRG/5WeyBmow2EEKHsqxVwCV/kFGsEMNL7opZz5MxAiEAriXaqEVRP1ikLV/w1m7IMyi5w9JCktUAHSEUawiQC1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83676},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"21fda5499f384a52cbe740fd98b0ae38ef49afd8","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls collections/*.js|xargs rm; ls collections/*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions added to JavaScript standard types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.1.1_1694524931329_0.32829594967474085","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@ayonli/jsext","version":"0.2.0","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.2.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"8ec22b898c2d6bbfa7dbf25b37206ff485f8fc81","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.2.0.tgz","fileCount":63,"integrity":"sha512-f5WWXrBSv6+MI4YSWrjGToSqjIKvn28P/pyD/eq+bxHvtPvc8iBaLqR9Uu6mYhporK2P7mgR4KLrBNMJA6CVQQ==","signatures":[{"sig":"MEUCIEYAYhV0ogpXDKYi2IjxPFBvGX125Pa4E82lbjxCSJO7AiEAk+ntHTyzjXVZuYXudMWU8YfUIdnCJjAlH/KgISP8IpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101375},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"1130fb987f984badbe1b44cb66c08f80212463da","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript builtin types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.2.0_1694538172961_0.7142427187693046","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@ayonli/jsext","version":"0.3.0","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"c73af3c6efddf0be017847d501289697152a0f51","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.0.tgz","fileCount":72,"integrity":"sha512-lmwXXR94TGwOgmoXjJvRqWhI+DlluEv+l7eskzfv+jLeKz1/waz3Oju6ocyHxonPgfquUY+E816v3dGI1Cz6JQ==","signatures":[{"sig":"MEQCICE0le+V5jfDPIAZ84e+3vP2yhcofHntXcBnhnvMplY3AiBqniuJHe5reW06X7eAJXV22LgeZHD2KjS9Xkse+JBFFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115686},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"77bfb4ed2a78ced0b10d80eda6a64c619b0d2975","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript builtin types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.0_1694620499410_0.6817036353977062","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@ayonli/jsext","version":"0.3.1","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"61a82744c9cabe848420b610e33c7f82460cffe0","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.1.tgz","fileCount":72,"integrity":"sha512-Oa10GrSP8ZRFtMRBNBpolSa2YHx+gi8lgWw5f1DK1ebXNnOb9gHPrwOuyXNLC52z0Z2eyp1pzLKhR0ttT2713w==","signatures":[{"sig":"MEYCIQDiONSz5qhew5Kf0Yw6Smvqf9hwptV61n6p7Eo8o3l5NQIhAISBwOYBBO3+8jcTqAc2Y0WRUJcR449HqXntcwewh5ij","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115614},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"80c639e659f6b7e815c3421db5a8e122691ce99e","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript builtin types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.1_1694624420956_0.18792677736144592","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@ayonli/jsext","version":"0.3.2","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"4f26b0a5b3f6213af78ceb8ed8eb102a081f1406","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.2.tgz","fileCount":107,"integrity":"sha512-+cbdFbKJFCaymZ9PP1d8V9BlWVkQ+wR88DiprxzmdvceKh9SN5qwqQtdPYkO2+GyjUgo7Qdzq+8Ar4w5HCOe4Q==","signatures":[{"sig":"MEYCIQC5cVOgPIMZ2Ve7ca/HbdfpyZGzcVRXzRq/q7Fx3dkiggIhAMcywMYAF9H1ibQ1nSByjFTcp5S+CJMv5LkWWzbZAkwB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":136846},"main":"dist/index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"92fab00e21e8418fb6e36bf75eb500ccdc102c20","scripts":{"test":"mocha","postpublish":"rm -rf dist","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript builtin types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.2_1694628569486_0.5798909338525238","host":"s3://npm-registry-packages"}},"0.3.3":{"name":"@ayonli/jsext","version":"0.3.3","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"81bc5621a91bbfe1fd95f2a0124e9306ce096d85","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.3.tgz","fileCount":72,"integrity":"sha512-lMrKIcvnI0miCVJd9n+ajIow97H4PZwZLQCom7i76/w8WqLAKp62AssWWwkJ1tM9iXLIZV2jVl1jc3adNswX5A==","signatures":[{"sig":"MEQCIA0XU1qW7+Kg1Y8bNSsPEVXbaApQEl1HGvV2jluB4vIbAiB46NwA1IWuJaH8Otf8t1GfNkA5bdDblws7JALPq4+CDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115954},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"276bf94d8a4dba5bd72826e3840a6ca807049ac0","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript builtin types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^4.9.5","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.3_1694633419916_0.8255353663609108","host":"s3://npm-registry-packages"}},"0.3.4":{"name":"@ayonli/jsext","version":"0.3.4","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","defer","sleep","promise"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"66cb56f6c14c33a5002d8228cba6bbad79271005","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.4.tgz","fileCount":72,"integrity":"sha512-l2e/DwXxdsj5lo8/duKbVLjvBmx8RYdpQSkfXUdmIBgC58AdfUDKUVRxus1IN8YpDBMloqOXF6X4RetkP2hipA==","signatures":[{"sig":"MEYCIQDm6IW4MWBNta5zi0O/CpGn+Vl5b2AkI5pp1aHbuBs9WgIhAIpJKgDEWbC5T5CTICm9RIQ4+a76WNpLG1kdXMu06tnQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139617},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"b60ae5f6ac68235c0145bab021fbecf0bc9ea4ff","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript builtin types that are frequently used in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.4_1694681516432_0.7617712210559506","host":"s3://npm-registry-packages"}},"0.3.5":{"name":"@ayonli/jsext","version":"0.3.5","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","defer","sleep","promise","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"cd4624fc7b9cb760c4938d132396ea5964db12e0","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.5.tgz","fileCount":74,"integrity":"sha512-rCojIcNibfH2FeY+keupAH1dWnQov3X+Yia79xqTMDpLZ57ROoVpOZfT6oSz4aEKT1j8Bw8uZaIoJ6fLNNI8sw==","signatures":[{"sig":"MEYCIQDSngk1NvKsSASaZV7O73abGGjv0VuLtrgXkbykVLjY2wIhALkdKpV8gvW4NEY0uqSo7Z5t45CywEYW3b3eF/VT4yFQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178918},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"bcaa6cba35d40fa996e7f8230f2ddc42fa511d6e","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.5_1694721429512_0.7444820299949333","host":"s3://npm-registry-packages"}},"0.3.6":{"name":"@ayonli/jsext","version":"0.3.6","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","try","defer","sleep","promise","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b682cd5a2f74992e0acaee53af800fc3f17e8089","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.6.tgz","fileCount":74,"integrity":"sha512-KI/6GOCF7hx4U+sYg+JB2gmLtR++sFFVk4NIXpKCi1OiHqGeUne6i5CU3kcmPaQijpVW8yJ/2/LRz8t2LKsuXA==","signatures":[{"sig":"MEQCIDNRpAYHpXZNMIUWki4hngA3SdFguizyHpeS9nGy+WhIAiA/UWfmU8fUFSSc+2cIN/AekEr3thqD71JdDNFpIPmfiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":186241},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"a2f23a06c71dd8a7c16eb1f85badb3fb2b27605e","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.6_1694756614280_0.8994337690222156","host":"s3://npm-registry-packages"}},"0.3.7":{"name":"@ayonli/jsext","version":"0.3.7","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d4a213e7a86571b0c4d5a9625360e65b52038b66","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.7.tgz","fileCount":74,"integrity":"sha512-YDeKLXe5a41sNQ8yWEP2OGdRFgC1GpW2D5LjlHtqEf4np4VDgPtypnuD8fqyjisNS/8bIKN13PYoIfEpDr3B/w==","signatures":[{"sig":"MEYCIQCNVBxUBwuWDAArMfcbpOQe4xQBfopHzSWoRziLn1MONgIhAOrEIs/WTNkYIDOXwSifljD5uSBFqszU2lwXE+r+HkXL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":199352},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"8eb7d6d7ac09ee6ff5b99cab73e939b84651a59e","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.7_1694797033339_0.11202356967312888","host":"s3://npm-registry-packages"}},"0.3.8":{"name":"@ayonli/jsext","version":"0.3.8","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.8","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"719234655485999335d5d879bdf2746234082b8d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.8.tgz","fileCount":74,"integrity":"sha512-NZvIipyC4W04iVZ2bB8RcHD4iw68PDmRzpujUfahcxeVAuodDH6xPPZGW40kG8DI+utlgzdwihTm9bCE9ZRESg==","signatures":[{"sig":"MEUCIQCv2qsvT/xChMbQ71aFCYASaj2gyjR2ExcgYLNYK627ZgIgVGQ5U3z+4HbomQ0TSvLP6txdKDB04a/S3qcae/IKh4o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":199299},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"633b4adbfae6ca38924069921a2d68d6484d4d7e","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.8_1694807614252_0.36149219933771093","host":"s3://npm-registry-packages"}},"0.3.9":{"name":"@ayonli/jsext","version":"0.3.9","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.9","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"05748934a6986a4870d1d5d67fd0c80d24ece596","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.9.tgz","fileCount":74,"integrity":"sha512-0tb1PfWayEdqkgr64KBKLrqwMOcxtIHfcq0lyEAza8yl3FlYXDlxlTag5L2VH2DVqS6CcLi3ggoneSdLcVMncQ==","signatures":[{"sig":"MEQCICJCoxo09dmEUiJGD0qsVN2WH8E0w5ROwiuxIFdY9Z2NAiBZ1YW4HCYPO8thTS6JX+qyoa6W7JLrf2Uqpspx6d26QA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":199341},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"e60c3b11f5c1e9416c1e2ea3ccd266f81e0e3291","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.9_1694807913776_0.09221379773070515","host":"s3://npm-registry-packages"}},"0.3.10":{"name":"@ayonli/jsext","version":"0.3.10","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.3.10","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"2cb1912ba0c5d1b7dea0a0263ab053225eb8f0c4","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.3.10.tgz","fileCount":74,"integrity":"sha512-SicgPlCZS6X68FXYMF7hxr8jz/oXbuCnYMjTxMooPbIflX1V/XM4ET8oq8jcp6Ptpc3Eg30Bes3wZZdhTBTd+g==","signatures":[{"sig":"MEYCIQDWFL3G/I9mjFpTkvKIlgqUeNBoFAgNvy+Qq9BHbOhhVgIhAJ+gZtIxnuWGZb2R7miUYeK8WQy3DWe0X+5NHt7Pq433","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":199464},"main":"index.js","mocha":{"spec":["*.test.ts","**/*.test.ts"],"require":["ts-node/register"]},"types":"index.ts","engines":{"node":">=14"},"gitHead":"4ce3867216b0d94c951f1d188226c7b75e7b546a","scripts":{"test":"mocha","postpublish":"ls *.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|xargs rm; ls */*.js.map|xargs rm","prepublishOnly":"tsc"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.3.10_1694809324623_0.5947041032854892","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@ayonli/jsext","version":"0.4.0","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0b23f134ab3723764f18327afb14d86e5b3797d4","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.0.tgz","fileCount":102,"integrity":"sha512-V+5B8G0LyYsb8XU5vrhKyU8hIhxQYA/4C/xvTq85JdzYIweu3rcPnlMlBqINiEa6/B6mfPxEja18UbaxjNDUvA==","signatures":[{"sig":"MEUCICcSSW6420OUVkmJafB8SXh21oH/bcFJIJ8BT4ax77/8AiEAjyI0BHtmycQGQRGlUDIA06E9R8GaGZXyfcAysyuY1sE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":437257},"main":"index.js","mocha":{"spec":["**/*.test.ts"],"require":["ts-node/register"]},"types":"./index.d.ts","engines":{"node":">=12"},"gitHead":"045848f7c6fe73d13c2ab621ea72309c909fcd87","scripts":{"test":"mocha","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","postpublish":"ls *.js|grep -v config.js|grep -v example.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|grep -v bundle|grep -v esm|xargs rm; ls */*.js.map|grep -v bundle|grep -v esm|xargs rm","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","ts-loader":"^9.4.4","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.0_1694879315567_0.06531565768670511","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@ayonli/jsext","version":"0.4.1","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0e1cbfe9a3145ea2c37263e4c92abf8757ed1faf","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.1.tgz","fileCount":125,"integrity":"sha512-c59l+iyTF+7zsRCt7CNhEkY7aJMB7wAFIcDmzGr1k4ZF6QUZ1YgH22oNSowY1QiAcOgaWiAtPV+wxdZAHSyh6w==","signatures":[{"sig":"MEQCIBIY3KVnIgjhBthaQXAsswsfXTQS/hSD1aZJndQfrL+HAiBqB4POT8b102LE6CvQAiNRLm3PoHjihODEeGRcZnhViA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":376963},"mocha":{"spec":["**/*.test.ts"],"require":["ts-node/register"]},"engines":{"node":">=12"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./math":{"import":"./esm/math/index.js","require":"./cjs/math/index.js"},"./array":{"import":"./esm/array/index.js","require":"./cjs/array/index.js"},"./error":{"import":"./esm/error/index.js","require":"./cjs/error/index.js"},"./number":{"import":"./esm/number/index.js","require":"./cjs/number/index.js"},"./object":{"import":"./esm/object/index.js","require":"./cjs/object/index.js"},"./string":{"import":"./esm/string/index.js","require":"./cjs/string/index.js"},"./augment":{"import":"./esm/augment.js","require":"./cjs/augment.js"},"./promise":{"import":"./esm/promise/index.js","require":"./cjs/promise/index.js"},"./uint8array":{"import":"./esm/uint8array/index.js","require":"./cjs/uint8array/index.js"},"./collections":{"import":"./esm/collections/index.js","require":"./cjs/collections/index.js"},"./math/augment":{"import":"./esm/math/augment.js","require":"./cjs/math/augment.js"},"./array/augment":{"import":"./esm/array/augment.js","require":"./cjs/array/augment.js"},"./error/augment":{"import":"./esm/error/augment.js","require":"./cjs/error/augment.js"},"./number/augment":{"import":"./esm/number/augment.js","require":"./cjs/number/augment.js"},"./object/augment":{"import":"./esm/object/augment.js","require":"./cjs/object/augment.js"},"./string/augment":{"import":"./esm/string/augment.js","require":"./cjs/string/augment.js"},"./error/Exception":{"import":"./esm/error/Exception.js","require":"./cjs/error/Exception.js"},"./promise/augment":{"import":"./esm/promise/augment.js","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"import":"./esm/collections/BiMap.js","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"import":"./esm/collections/CiMap.js","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"import":"./esm/uint8array/augment.js","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"import":"./esm/collections/augment.js","require":"./cjs/collections/augment.js"}},"gitHead":"82a21d85e8e759e17a02502cbeef62980c1f7e11","scripts":{"test":"mocha","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","postpublish":"ls *.js|grep -v config.js|grep -v example.js|xargs rm; ls *.js.map|xargs rm; ls */*.js|grep -v bundle|grep -v esm|xargs rm; ls */*.js.map|grep -v bundle|grep -v esm|xargs rm","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.3.4","mocha":"^10.2.0","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","ts-loader":"^9.4.4","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","magic-string":"^0.30.3","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.1_1694938387940_0.07749932314292107","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"@ayonli/jsext","version":"0.4.2","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"3b70a82b1e4ccb49d69cf3d4cd74e97c79febaeb","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.2.tgz","fileCount":125,"integrity":"sha512-OKQUYQkbMDMckinzunS2+WGv92ogck4vIOTzc7LycszrX+DZsQzbevhbB2UyfmecxViCr4c6xROD01Hxxg9lyg==","signatures":[{"sig":"MEUCIALqyj4WEHxmdfEzHVuBgSUCoxkg/fUxhxjfC2vRkmMHAiEA8c9kT0ukNAehiylfgCZW2PcYJqbqS4OwoK4rbllCQL0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":383287},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"require":["ts-node/register"]},"engines":{"node":">=12"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./math":{"import":"./esm/math/index.js","require":"./cjs/math/index.js"},"./array":{"import":"./esm/array/index.js","require":"./cjs/array/index.js"},"./error":{"import":"./esm/error/index.js","require":"./cjs/error/index.js"},"./number":{"import":"./esm/number/index.js","require":"./cjs/number/index.js"},"./object":{"import":"./esm/object/index.js","require":"./cjs/object/index.js"},"./string":{"import":"./esm/string/index.js","require":"./cjs/string/index.js"},"./augment":{"import":"./esm/augment.js","require":"./cjs/augment.js"},"./promise":{"import":"./esm/promise/index.js","require":"./cjs/promise/index.js"},"./uint8array":{"import":"./esm/uint8array/index.js","require":"./cjs/uint8array/index.js"},"./collections":{"import":"./esm/collections/index.js","require":"./cjs/collections/index.js"},"./math/augment":{"import":"./esm/math/augment.js","require":"./cjs/math/augment.js"},"./array/augment":{"import":"./esm/array/augment.js","require":"./cjs/array/augment.js"},"./error/augment":{"import":"./esm/error/augment.js","require":"./cjs/error/augment.js"},"./number/augment":{"import":"./esm/number/augment.js","require":"./cjs/number/augment.js"},"./object/augment":{"import":"./esm/object/augment.js","require":"./cjs/object/augment.js"},"./string/augment":{"import":"./esm/string/augment.js","require":"./cjs/string/augment.js"},"./error/Exception":{"import":"./esm/error/Exception.js","require":"./cjs/error/Exception.js"},"./promise/augment":{"import":"./esm/promise/augment.js","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"import":"./esm/collections/BiMap.js","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"import":"./esm/collections/CiMap.js","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"import":"./esm/uint8array/augment.js","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"import":"./esm/collections/augment.js","require":"./cjs/collections/augment.js"}},"gitHead":"5d6a320b7a061e3dd4d037ed2c87ae5e027e1f62","scripts":{"test":"mocha","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"tslib":"^2.6.2","check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^10.3.4","mocha":"^10.2.0","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","ts-loader":"^9.4.4","websocket":"^1.0.34","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","magic-string":"^0.30.3","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.2_1694966347175_0.8194765241744124","host":"s3://npm-registry-packages"}},"0.4.3":{"name":"@ayonli/jsext","version":"0.4.3","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"c1eda153d796a6dade5fe86cacd8405e7955eadc","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.3.tgz","fileCount":125,"integrity":"sha512-H2u7qXwEXlzQ2uaXQMpZR+zO53sNsJNqn4/Cw2PCiIsT8VWJZTjef0+6Wl0Vj7aBpbKLoBDv+jqrocuu/3i6ZQ==","signatures":[{"sig":"MEUCIQDUO9RV1i1wugFUq9n40NevCdqle1vBStTTE+WdHL2aggIgX1dYo/F8vQ81+oVXkuyiziYgDhoPc0zaLTFHEiicq9c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":383819},"mocha":{"spec":["*.test.ts","*/**.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./math":{"import":"./esm/math/index.js","require":"./cjs/math/index.js"},"./array":{"import":"./esm/array/index.js","require":"./cjs/array/index.js"},"./error":{"import":"./esm/error/index.js","require":"./cjs/error/index.js"},"./number":{"import":"./esm/number/index.js","require":"./cjs/number/index.js"},"./object":{"import":"./esm/object/index.js","require":"./cjs/object/index.js"},"./string":{"import":"./esm/string/index.js","require":"./cjs/string/index.js"},"./augment":{"import":"./esm/augment.js","require":"./cjs/augment.js"},"./promise":{"import":"./esm/promise/index.js","require":"./cjs/promise/index.js"},"./uint8array":{"import":"./esm/uint8array/index.js","require":"./cjs/uint8array/index.js"},"./collections":{"import":"./esm/collections/index.js","require":"./cjs/collections/index.js"},"./math/augment":{"import":"./esm/math/augment.js","require":"./cjs/math/augment.js"},"./array/augment":{"import":"./esm/array/augment.js","require":"./cjs/array/augment.js"},"./error/augment":{"import":"./esm/error/augment.js","require":"./cjs/error/augment.js"},"./number/augment":{"import":"./esm/number/augment.js","require":"./cjs/number/augment.js"},"./object/augment":{"import":"./esm/object/augment.js","require":"./cjs/object/augment.js"},"./string/augment":{"import":"./esm/string/augment.js","require":"./cjs/string/augment.js"},"./error/Exception":{"import":"./esm/error/Exception.js","require":"./cjs/error/Exception.js"},"./promise/augment":{"import":"./esm/promise/augment.js","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"import":"./esm/collections/BiMap.js","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"import":"./esm/collections/CiMap.js","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"import":"./esm/uint8array/augment.js","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"import":"./esm/collections/augment.js","require":"./cjs/collections/augment.js"}},"gitHead":"41d550b04069f2633d2472828cf7d55d84af461e","scripts":{"test":"mocha -r ts-node/register","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","test:bun":"bun run ./node_modules/mocha/bin/mocha","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","@types/ws":"^8.5.5","ts-loader":"^9.4.4","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","magic-string":"^0.30.3","isomorphic-ws":"^5.0.0","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.3_1694982590611_0.24541989654733642","host":"s3://npm-registry-packages"}},"0.4.4":{"name":"@ayonli/jsext","version":"0.4.4","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ea00907ddfe571675c3a413a0a662b99ba6863f2","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.4.tgz","fileCount":125,"integrity":"sha512-/RYBShp8QZ5cldDCi7+Ud32YRwYY3mzB3MmKedDIYh806pbIgqgeXwxmtjiZEjZ8QbGeQoRMn6wONVUpc+SkQg==","signatures":[{"sig":"MEYCIQDFUkrclfFIRgwdGO/8C9NhCrJekN0okG+LehyDlWtaogIhAKOp3F0J6Bwsv26MKKEYLnTCpfYMH90lCQgKNeWXNGc3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":384951},"mocha":{"spec":["*.test.ts","*/**.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./math":{"import":"./esm/math/index.js","require":"./cjs/math/index.js"},"./array":{"import":"./esm/array/index.js","require":"./cjs/array/index.js"},"./error":{"import":"./esm/error/index.js","require":"./cjs/error/index.js"},"./number":{"import":"./esm/number/index.js","require":"./cjs/number/index.js"},"./object":{"import":"./esm/object/index.js","require":"./cjs/object/index.js"},"./string":{"import":"./esm/string/index.js","require":"./cjs/string/index.js"},"./augment":{"import":"./esm/augment.js","require":"./cjs/augment.js"},"./promise":{"import":"./esm/promise/index.js","require":"./cjs/promise/index.js"},"./uint8array":{"import":"./esm/uint8array/index.js","require":"./cjs/uint8array/index.js"},"./collections":{"import":"./esm/collections/index.js","require":"./cjs/collections/index.js"},"./math/augment":{"import":"./esm/math/augment.js","require":"./cjs/math/augment.js"},"./array/augment":{"import":"./esm/array/augment.js","require":"./cjs/array/augment.js"},"./error/augment":{"import":"./esm/error/augment.js","require":"./cjs/error/augment.js"},"./number/augment":{"import":"./esm/number/augment.js","require":"./cjs/number/augment.js"},"./object/augment":{"import":"./esm/object/augment.js","require":"./cjs/object/augment.js"},"./string/augment":{"import":"./esm/string/augment.js","require":"./cjs/string/augment.js"},"./error/Exception":{"import":"./esm/error/Exception.js","require":"./cjs/error/Exception.js"},"./promise/augment":{"import":"./esm/promise/augment.js","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"import":"./esm/collections/BiMap.js","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"import":"./esm/collections/CiMap.js","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"import":"./esm/uint8array/augment.js","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"import":"./esm/collections/augment.js","require":"./cjs/collections/augment.js"}},"gitHead":"de53b0df786eeb3bc09c387d27b3ac63373b8555","scripts":{"test":"mocha -r ts-node/register","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","test:bun":"bun run ./node_modules/mocha/bin/mocha","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","@types/ws":"^8.5.5","ts-loader":"^9.4.4","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","magic-string":"^0.30.3","isomorphic-ws":"^5.0.0","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.4_1695016800067_0.3773923909463286","host":"s3://npm-registry-packages"}},"0.4.5":{"name":"@ayonli/jsext","version":"0.4.5","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f5e09fdb28ff9eb306513184b2c3a2d104dac8d6","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.5.tgz","fileCount":125,"integrity":"sha512-b2EVQj8tCpPMsq/LlgfvwNIsNi/V57ly0cuhfPHszCbKid6e+8Bj0S6PS/td//WbzsJwGOogY1itAezL3bs7Ag==","signatures":[{"sig":"MEUCIQDjFYreaZcE2k+HtKzniHr930q0Vov4E1aR+1T19ziYkwIgaxyyvDNdYLg0bhmOJZ7U0Ww1nMhixOiZP/9+mYF5i+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":384961},"mocha":{"spec":["*.test.ts","*/**.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./math":{"import":"./esm/math/index.js","require":"./cjs/math/index.js"},"./array":{"import":"./esm/array/index.js","require":"./cjs/array/index.js"},"./error":{"import":"./esm/error/index.js","require":"./cjs/error/index.js"},"./number":{"import":"./esm/number/index.js","require":"./cjs/number/index.js"},"./object":{"import":"./esm/object/index.js","require":"./cjs/object/index.js"},"./string":{"import":"./esm/string/index.js","require":"./cjs/string/index.js"},"./augment":{"import":"./esm/augment.js","require":"./cjs/augment.js"},"./promise":{"import":"./esm/promise/index.js","require":"./cjs/promise/index.js"},"./uint8array":{"import":"./esm/uint8array/index.js","require":"./cjs/uint8array/index.js"},"./collections":{"import":"./esm/collections/index.js","require":"./cjs/collections/index.js"},"./math/augment":{"import":"./esm/math/augment.js","require":"./cjs/math/augment.js"},"./array/augment":{"import":"./esm/array/augment.js","require":"./cjs/array/augment.js"},"./error/augment":{"import":"./esm/error/augment.js","require":"./cjs/error/augment.js"},"./number/augment":{"import":"./esm/number/augment.js","require":"./cjs/number/augment.js"},"./object/augment":{"import":"./esm/object/augment.js","require":"./cjs/object/augment.js"},"./string/augment":{"import":"./esm/string/augment.js","require":"./cjs/string/augment.js"},"./error/Exception":{"import":"./esm/error/Exception.js","require":"./cjs/error/Exception.js"},"./promise/augment":{"import":"./esm/promise/augment.js","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"import":"./esm/collections/BiMap.js","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"import":"./esm/collections/CiMap.js","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"import":"./esm/uint8array/augment.js","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"import":"./esm/collections/augment.js","require":"./cjs/collections/augment.js"}},"gitHead":"8c12822417bc356c5dac300172d1918c53724166","scripts":{"test":"mocha -r ts-node/register","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","test:bun":"bun run ./node_modules/mocha/bin/mocha","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","@types/ws":"^8.5.5","ts-loader":"^9.4.4","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","magic-string":"^0.30.3","isomorphic-ws":"^5.0.0","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.5_1695038908648_0.39215226579036133","host":"s3://npm-registry-packages"}},"0.4.6":{"name":"@ayonli/jsext","version":"0.4.6","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.4.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"cd51ba3ab46bcd4aba76989a590c8b71e0343330","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.4.6.tgz","fileCount":125,"integrity":"sha512-8agEarIwXaeWnmNnuNEH/Ss/FjMC7wUMLNfH5pYX5fXHhPeJISzgBIyMwNnMblzR2QM2wCTBYqG5E7LnI818Yg==","signatures":[{"sig":"MEQCICgvZfLgLklnLryYS0bv6MVz2fCWIuwPTgcT6MmVD9GsAiArFmpD7PywidNZCwID78DW3qcEDuvikdMWiduPouiUAA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":383751},"mocha":{"spec":["*.test.ts","*/**.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./math":{"import":"./esm/math/index.js","require":"./cjs/math/index.js"},"./array":{"import":"./esm/array/index.js","require":"./cjs/array/index.js"},"./error":{"import":"./esm/error/index.js","require":"./cjs/error/index.js"},"./number":{"import":"./esm/number/index.js","require":"./cjs/number/index.js"},"./object":{"import":"./esm/object/index.js","require":"./cjs/object/index.js"},"./string":{"import":"./esm/string/index.js","require":"./cjs/string/index.js"},"./augment":{"import":"./esm/augment.js","require":"./cjs/augment.js"},"./promise":{"import":"./esm/promise/index.js","require":"./cjs/promise/index.js"},"./uint8array":{"import":"./esm/uint8array/index.js","require":"./cjs/uint8array/index.js"},"./collections":{"import":"./esm/collections/index.js","require":"./cjs/collections/index.js"},"./math/augment":{"import":"./esm/math/augment.js","require":"./cjs/math/augment.js"},"./array/augment":{"import":"./esm/array/augment.js","require":"./cjs/array/augment.js"},"./error/augment":{"import":"./esm/error/augment.js","require":"./cjs/error/augment.js"},"./number/augment":{"import":"./esm/number/augment.js","require":"./cjs/number/augment.js"},"./object/augment":{"import":"./esm/object/augment.js","require":"./cjs/object/augment.js"},"./string/augment":{"import":"./esm/string/augment.js","require":"./cjs/string/augment.js"},"./error/Exception":{"import":"./esm/error/Exception.js","require":"./cjs/error/Exception.js"},"./promise/augment":{"import":"./esm/promise/augment.js","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"import":"./esm/collections/BiMap.js","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"import":"./esm/collections/CiMap.js","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"import":"./esm/uint8array/augment.js","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"import":"./esm/collections/augment.js","require":"./cjs/collections/augment.js"}},"gitHead":"a1cdd48f3b606ff7dbfb16a4679e8f5a1b3654c7","scripts":{"test":"mocha -r ts-node/register","build":"tsc && rollup -c rollup.config.mjs && rollup -c rollup-worker.config.mjs && webpack","test:bun":"bun run ./node_modules/mocha/bin/mocha","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","dependencies":{"check-iterable":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","webpack":"^5.88.2","@types/ws":"^8.5.5","ts-loader":"^9.4.4","typescript":"^4.9.5","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","webpack-cli":"^5.1.4","@types/mocha":"^10.0.1","magic-string":"^0.30.3","isomorphic-ws":"^5.0.0","@types/websocket":"^1.0.6","@types/eventsource":"^1.1.11","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.4.6_1695056525689_0.8940875726282678","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@ayonli/jsext","version":"0.5.0","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"46c1075a8d0691a0ca07b23c3c01e768409211cd","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.0.tgz","fileCount":175,"integrity":"sha512-/AGPRHWxI8m/Rf/Pm6vfn7gczlRrDOgPFOWyrqM42kEvxGHuqcwMLJVkI3mNUNt9TyapmajUBqVwj/DQJPGftw==","signatures":[{"sig":"MEYCIQCWYnaOel9n8oow0GpzFkSpO7fvvTIZbeBQQAiq3r9NPAIhAMuEjaECF6VuPDHNQCdwJzL1Dbfglfzgjq05kW5Ul81+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":569098},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./math":{"bun":"./math/index.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./array":{"bun":"./array/index.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./number":{"bun":"./number/index.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./promise":{"bun":"./promise/index.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./uint8array":{"bun":"./uint8array/index.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"e267727071025bb0020241e4266c0b8be654d3d6","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.6.6","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.2.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.0_1695262745956_0.6387385769620422","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@ayonli/jsext","version":"0.5.1","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b8c5987f085d9afc3d34ba77f8b45d4503a937e9","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.1.tgz","fileCount":175,"integrity":"sha512-sJAJiHFm3LVfYQl1K+pQHjyphj6fxG7Jn1CGWQUnW+XLDZELOkUSghIRvQU+sazCJCcXE6C5sagRMpIAYDyrWA==","signatures":[{"sig":"MEUCIHzg6DAnw/UD/W+XKc/4vOi/cuGzawj+0Mv4I/vDdFwgAiEAnYMdbvYF8mcf90uydWo1KMsPUb9Q559gaMDq6syZmJ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":569917},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./math":{"bun":"./math/index.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./array":{"bun":"./array/index.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./number":{"bun":"./number/index.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./promise":{"bun":"./promise/index.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./uint8array":{"bun":"./uint8array/index.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"9cdd64b4b82356a5e9070519fac9f94db63c7b32","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.6.6","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.2.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.1_1695280930398_0.26391543432375153","host":"s3://npm-registry-packages"}},"0.5.2":{"name":"@ayonli/jsext","version":"0.5.2","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a8bfb06700df0b4ecb5424197241b81bb43ff98e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.2.tgz","fileCount":180,"integrity":"sha512-TFUcBpJ1FLdAUEURc8Xj41GTWHG4wzdLRKFaN0L/gY557SSQvEXRxW6Q3C1OcUgsVT0wldbVMkJ/71hsEaaWng==","signatures":[{"sig":"MEUCIF58wMedjx1zoWS3mUWX5RhvPbw9xpnPvITHHygsYcycAiEAqve/3CfoDwkrEbCEb3RQTdgO06Qos6e3PQ2ly2ZEqms=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":584191},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./math":{"bun":"./math/index.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./array":{"bun":"./array/index.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./number":{"bun":"./number/index.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./promise":{"bun":"./promise/index.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./uint8array":{"bun":"./uint8array/index.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"84fefb0d5a975f9c6451806e03a640ef6ea04ed8","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.6.6","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.2.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.2_1695311511277_0.14500693720005353","host":"s3://npm-registry-packages"}},"0.5.3":{"name":"@ayonli/jsext","version":"0.5.3","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b060265d4f9f25b0d5a455cdcdab928e26065834","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.3.tgz","fileCount":180,"integrity":"sha512-EBBKnowoAeDmyh8yhOOaQ5ui4y5oc2vt391QX9rOKGXk4FBWu6bO6KrchkQCBGfrHGma08KD8E7++Avm7/Kb7Q==","signatures":[{"sig":"MEUCIQCbzaWkCXzqknmGB+hU4KRDve5n3RO3k07zmDee/KXqJgIgJgxO/LAoQuU3+gs6Wwil2io57AHyZzzLIMWfjDcm1LU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":609143},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./math":{"bun":"./math/index.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./array":{"bun":"./array/index.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./number":{"bun":"./number/index.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./promise":{"bun":"./promise/index.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./uint8array":{"bun":"./uint8array/index.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"f3156701ff29db3163cce3b71530c05602c00f69","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.3_1695579036042_0.33905709926760896","host":"s3://npm-registry-packages"}},"0.5.4":{"name":"@ayonli/jsext","version":"0.5.4","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"92fa2d7c83e371b6488ccd3a6b3e312dded86a13","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.4.tgz","fileCount":214,"integrity":"sha512-TyapJvRp19m2OksYdq2XVNoBsF0yBxLKLS1t2nYgA8FFkHLonT8ZzRDs9U/XdVVswLuRSaSLiCiK93SESBcHGw==","signatures":[{"sig":"MEUCIEEl6H0zLsKflZKAi0+NYFDcIyuF3QXHekcKRlpSNtUOAiEA3fFboO2y1k95SQhh354jASmxjsW/gcBSpgiJBhfOjgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":655091},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"e00d40dc3d7d6a12083cbbd3a50892b126154047","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.4_1695747483869_0.38029445905771886","host":"s3://npm-registry-packages"}},"0.5.5":{"name":"@ayonli/jsext","version":"0.5.5","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"07260c5d8bcf5b2f9e48ac477a7b2b749d862917","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.5.tgz","fileCount":214,"integrity":"sha512-WPiNImcDdV0Qf2PvCPqsBeUGXqoy0BNFY04HsMJm2EgKqEtkYM9ONPXyo7iCuRDzrIwtDemut1OEXN0GPF8fqQ==","signatures":[{"sig":"MEUCIHSbld42RYUdISbJawF5eWUEnw5w4qWyR8wzUF5PNqHFAiEAhAPVf0HKZBqn6+V+06ccg1n0ZDTflu7OZK8q5l2ZDSE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":657331},"mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"3c59bdfb70e9a33dd0f2c048a47d260ece5c837e","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.5_1695753106227_0.6046377164162011","host":"s3://npm-registry-packages"}},"0.5.6":{"name":"@ayonli/jsext","version":"0.5.6","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"8e844608441d0382985398eb49d5ee3ca0f65319","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.6.tgz","fileCount":214,"integrity":"sha512-Tkm+7OVjca/nwc/MldbYeBfXyVpANxU1uBKy9x9Cyenv4k7m9i4cJnwCRveguGtSSzcusq1JySGNGEuH+mf2+g==","signatures":[{"sig":"MEQCIBrsx0B0kQ4lpFyI/1TVENCAL2eFYoI2mhgSf5CYbX6NAiB04CU/K0LfyOTbqEidqAjJs5jdXdtb+jFkxXfhD89SOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":657457},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"854d18513363df5e5634422e78e70afa54df1e7f","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.6_1695792879222_0.9026652333809719","host":"s3://npm-registry-packages"}},"0.5.7":{"name":"@ayonli/jsext","version":"0.5.7","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.5.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ed7818dd5b5ddc3b84f368e06c6d7c587eb8b45d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.5.7.tgz","fileCount":214,"integrity":"sha512-FvuXCFhMoTQT0JkCmfwPGfoNlyGfBMmzwqZ56csFnjoZoPNgQ98Ybp915YfdlfrdvL/cGoxtTQvl4QBJ6PBUjg==","signatures":[{"sig":"MEUCIHWIprYgQpcTtti5hmUOqKpvIdxXeSWcKRl+J53l2tAGAiEAtxYTKslBLaEPFZ0y7WaBXRmE9zS1ayHbfkOuRvbjC1k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":659044},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"abeb9f24d46066b0ae0fbcb9deb7f0f77eccb28e","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.5.7_1695807823224_0.1502704778481907","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@ayonli/jsext","version":"0.6.0","keywords":["compare","capitalize","hyphenate","chunk","truncate","random","isFloat","count","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","sum","avg","wrap","mixin","try","defer","sleep","promise","throttle","worker"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a20f5973f89eabe5419d770d5c12a009918ef317","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.0.tgz","fileCount":226,"integrity":"sha512-i5ZSew1ftNSSbCfuXQqR26TwQ2Zer2nKlrMsNz75afhXd3f7G7PmDNsVfoGHjLgaK1zspGspx1CAyS0ZL/m8oA==","signatures":[{"sig":"MEQCIHZfWgsCLrlpqpp7LnDm6YDNoSyJzyGDPGls5+1Ktw4eAiBx9O+XHUjqbgFlyDjOEXe/FK26WxiObP1U536j7RlAMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":691092},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"1b3215ba136c06c60edee3c2fca5f8005e84e899","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"npm run build:esm && npm run build:cjs && npm run build:bundle","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","build:cjs":"rollup -c rollup-cjs.config.mjs","build:esm":"rollup -c rollup-esm.config.mjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","build:bundle":"rollup -c rollup-bundle.config.mjs","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.0_1696099301580_0.5247823378393919","host":"s3://npm-registry-packages"}},"0.6.1":{"name":"@ayonli/jsext","version":"0.6.1","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b080d49442415c475a3fe9b22dbeee95a2a60bc6","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.1.tgz","fileCount":226,"integrity":"sha512-NV58HS8d0CxBve1jt8HTVf5NXZnWtGTtyEVIzRK8iFqqTFwRXxUQFjK2ayR1PtB+G/EA5oTP0ag/E9gkDbLVjw==","signatures":[{"sig":"MEYCIQC9rjTwB6mMeJlGQ0bUP7m7MLUlKmy2JQwQodl0TbyZzAIhAPlNeue2voVNEDsogL7PATk5RXP7hbmk9e4xMvGedQ5P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":703114},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"eb766df87ffe18de692ad5401c9f5925b82b324f","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.1_1696592343541_0.042148339656173484","host":"s3://npm-registry-packages"}},"0.6.2":{"name":"@ayonli/jsext","version":"0.6.2","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"182cda2771a9f43e0807597c3645cf9ff1055093","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.2.tgz","fileCount":226,"integrity":"sha512-fGbLafow4NbQ1x01V/R7IIBxEWmLQe/M45Yl5YyDx3v+GrHu9Y0gmqG1M+UAtPpUD9Rtgowo23+stxJ0oVnruw==","signatures":[{"sig":"MEQCIGE/M6v3YJu+v6z1YZJ4A0OG/TjmjDk3+/KwMfoskidpAiBocTPmeB7/RKle+vgqYPLE6crOVhu96wMgEzknBHrXZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":716050},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"ea57c78700eaef3b5a86581ac8f05ec820dd4eba","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.2_1696618048521_0.40824549951288613","host":"s3://npm-registry-packages"}},"0.6.3":{"name":"@ayonli/jsext","version":"0.6.3","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d63bc09af15252e97334304a54fdc8291666e16d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.3.tgz","fileCount":232,"integrity":"sha512-Ziig+QgKa7oTi/5xAaue/aTgihperBgHdXi365J3zJqpaQIdUiIJAqZ1Y/3VzigGt4JDND1q6EunOpajvTwzKg==","signatures":[{"sig":"MEUCIFzan/+Ia+HINFAL/8JD7eKV0/L2xTg2/NZKwGHYV/BhAiEAv/aVoWDyIOgCjzzETlHT+WEdApAg1yugg21mfPijtiY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":744908},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"a2c35bfd188a8de7dd306836773de7a0ffd8193e","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.3_1696702414578_0.32028040087476706","host":"s3://npm-registry-packages"}},"0.6.4":{"name":"@ayonli/jsext","version":"0.6.4","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"259f1b071c33d43e41673091c68fee53bf3f22ed","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.4.tgz","fileCount":240,"integrity":"sha512-+cbUnYTroSYoA63CK07dq3OTHORcoJae3Q16CxpQdIO1njMFDr6mendLcVnRCZvNGY3PmK3lkbTEw/6SFXux0w==","signatures":[{"sig":"MEYCIQC16100Il7hHbJ18qFL7d8qN7zUobn/f2vsMl3AL3lGPgIhAJC0l6nz0TbHK1q4zUB5wkmb2nlfJda+yfUbcymPqOtB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":835198},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"fc94a572e50eae763160c864e3e21e8ae0c0edbc","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --exit","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha --exit","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.6.6","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.2.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.4","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.4_1697295757224_0.8954952422760067","host":"s3://npm-registry-packages"}},"0.6.5":{"name":"@ayonli/jsext","version":"0.6.5","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"1adc31e08dc10a3c5fdc64c9b3c7fde844f1d348","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.5.tgz","fileCount":246,"integrity":"sha512-uuHH7GuCgw4Ia4m7JvSJTR8h2ehWXV1Tg837BHTvB9+HApIfk+Z/Kx3qW6yYX04GdupKY0+7n2com/PNCCbwIg==","signatures":[{"sig":"MEYCIQCCu1u36ufJl0/I6qB/an3qVejsMvj59KIqnUQPu8rxowIhAKtfIF0c7YP8DglRHgeItYLhbTIcI74ZvNMLGzhPq8JO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":906334},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"690dec6a0d217d14e09ded25812e90f6cda7c2af","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --exit","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha --exit","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.5_1697383624455_0.6900403393676973","host":"s3://npm-registry-packages"}},"0.6.6":{"name":"@ayonli/jsext","version":"0.6.6","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"535e2bd1d6cf740b8e7f1744a3534e48bcbc5d44","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.6.tgz","fileCount":246,"integrity":"sha512-+JEx0x8H8DFcIvcDDzPeZKnp3aDMxuTbaNHRxD/EJB856FYmZlBlDb45PueKH6HHGpXorcV72zIBGYwidP/zMQ==","signatures":[{"sig":"MEQCIChpNglFc9TzwP7U+8Stkyg4dwMW8lIqaqI0RFyxKf32AiBrCuQuBO4lWu13uzHF5D1XwxS29sLkvzOwb/CIfew2QA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":909873},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"0991c02ced98f37b19c36793ed13fb73595291b0","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","postpublish":"rm -rf types","prepublishOnly":"npm run build && tsc -p types.tsconfig.json"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.6_1697405128060_0.5860859071235507","host":"s3://npm-registry-packages"}},"0.6.7":{"name":"@ayonli/jsext","version":"0.6.7","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"37b8aae6fc42f2956875a9a6f32968db59fd5ba3","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.7.tgz","fileCount":254,"integrity":"sha512-LZhrMRhJSfyIgu2iAV0UVx7FI3YY6B83X0bimwa994QHNFOUXx1MyBbRDulEA+NPjJqldmtbgZTvOJ1+4Tgyvw==","signatures":[{"sig":"MEUCIQD+ZxtoEDPZdEZKvNE5DCcek4XQKliYoNEREI2PaTpGxwIgMHt0HH61bZWlOGg5rrUKiMyHFh0dDkDdOG9kng5+Py8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":953870},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"5901e3d495cafa1a3921d3625bc65dfca101f218","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.7_1697484109613_0.7764148811460136","host":"s3://npm-registry-packages"}},"0.6.8":{"name":"@ayonli/jsext","version":"0.6.8","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.8","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f8b59244f37627c14a08a9ca142a937dd3365dbc","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.8.tgz","fileCount":254,"integrity":"sha512-1IbkYmT4E6AXH4c8wQkHOFqs8CqAyZdTN9uM9IpzlPySPTT/DqMDriiW9k6gAueAXiE6/X5gY22gD2LatX1h1w==","signatures":[{"sig":"MEUCIBkR0gUp1pz/2NJChPzRK7deynsiSpi1cAdQ/ytdPYrOAiEAodZ6MFLSUxFfFg9bQLYurw7tgZu6nd0cfMGCewZa4P0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":958313},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"04f766137bf9e5a9567473c3f70b59e946865df9","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.8_1697487398020_0.2213949130118571","host":"s3://npm-registry-packages"}},"0.6.9":{"name":"@ayonli/jsext","version":"0.6.9","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.9","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"fdbe9ba7d0de8b60a77a1c629de239e65049c763","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.9.tgz","fileCount":254,"integrity":"sha512-N2j2fugW4crkNgLeKw9mPe1TzX7yZnNuMzuUl16qtKt4Fi0PxSNiwywJM1BtJPQMiO7MFaEkamvlPpZ7PUJR1A==","signatures":[{"sig":"MEYCIQDvYge4cH0OzojJ2W1TGSCXW/20WLoWNV7OWXA82mNjhgIhAIIs5v2ry2SqoGHQrkgO78aSEw3CcGc6hd6ebKzqpi9X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":960732},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"511acb01131d0d54ef55c1d99efa320407d9ed8f","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.9_1697490538090_0.5928080548202528","host":"s3://npm-registry-packages"}},"0.6.10":{"name":"@ayonli/jsext","version":"0.6.10","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.10","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"e09a868f5028b247e33cd85953fb05380bbffa86","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.10.tgz","fileCount":254,"integrity":"sha512-b9EDX+EviqemavwBSRWATmNOS2Z6D8Ok8ERXZc6U+XG26k1YQI8/YBJle/gg0izM0lKjTWxBwgIC+o9AwDDo/w==","signatures":[{"sig":"MEYCIQD+CMPYdsL3xxM6LbaTxF9D39Tk47QesOPkeocPwfHEywIhAKc/rUp9sVQP2zmRdVDjwlkuAgJCwjtJx6OrSNXHPWud","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1008319},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"3d38acbe97404933d0575b7c4d68298b9860cd0c","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.10_1697585652981_0.29814089662346843","host":"s3://npm-registry-packages"}},"0.6.11":{"name":"@ayonli/jsext","version":"0.6.11","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.11","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"2eb67bfd8e20412e3bbc5f0f293672d17b2370bb","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.11.tgz","fileCount":254,"integrity":"sha512-Oi05rNrW6gQd01KFS8AhIghd5IXXycnK5G/R+xTU96JnlWCscC0hXvBgJHGl9709h/h5+rMcEy79FZ7cxO5BiA==","signatures":[{"sig":"MEUCIHkRGI+rWdZjItkcx93pU7aXrOFxT0P4GfP7PlEXzHgNAiEA1RJcJML3tLmHFi4Ebphk7UqA/H+pkGFURDWH3rxtbJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1041472},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"1b15f1cb94d6715227eb5e9002dc128e3a1f5826","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.11_1697658711943_0.6509943465428709","host":"s3://npm-registry-packages"}},"0.6.12":{"name":"@ayonli/jsext","version":"0.6.12","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.12","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"54d42bf971bef256c95e8815a300b496aaa3833b","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.12.tgz","fileCount":257,"integrity":"sha512-skNMhRKq/BBdN7MLuHzAhZwag2bhseTBmsN+9LNVjBTtF62t2G3GA7xLtfZknzz7zDg3f3YNyBuDVtblzo/1Pw==","signatures":[{"sig":"MEQCIF+b2JKwgCpvNa2EpCEx2cQlsi5Ho4pJ5rFt/ChQ/ORLAiA9jgrMsVDnHMOfxi8Biqz9y7niF8NfBAIeJim/1FK9Vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1076336},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"f2c62c84b16ecd3e8fce9a4cb740105dc4ce6204","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.8.1","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.6.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.12_1697683800393_0.41864815425522384","host":"s3://npm-registry-packages"}},"0.6.13":{"name":"@ayonli/jsext","version":"0.6.13","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.13","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"59c318b24da57168b1d6b6fb8022e1829569c681","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.13.tgz","fileCount":257,"integrity":"sha512-LuhosjtZMpRkQa4tq0kq8J5GtXdor4HJQu3245BY5I9NKAJxCnQe1e/UZ1KJ29dwC3PoHBehvBNnVt1eGXbsoQ==","signatures":[{"sig":"MEUCIBLJLAqf+SXNqMYjl1bsClujL94db/TqKdq2lWl/70giAiEAmsIG/9WtnZgI7rqql4qpirRJzz+V9vKze+68J5k30Nw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1103668},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"5ead1ba547e232e63afc46a1bb6f0f6c94f43eb5","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"9.5.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.13_1697727299555_0.3324432144173475","host":"s3://npm-registry-packages"}},"0.6.14":{"name":"@ayonli/jsext","version":"0.6.14","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.14","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"05ddd852e547519cd754b9dd558d1c4460284186","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.14.tgz","fileCount":257,"integrity":"sha512-sf8Z90fPVRAxHIVVep2Gb7N/7y83WF97qvs8TCGkx203zaqleNLGLlpF9mIduyYiz0PvjmJ+yqXqOaaMrK1FEA==","signatures":[{"sig":"MEQCIDO6PZM845KAPb8S/uG5hc5WEKPp+wRR40jKzvAZt/VMAiA+1UzwEF1X9bDKWu1rD9CzEgCW0kl7TQoKhLBN2CC/Lg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1123116},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"544b08bb8e914e579eee6ca14d6a853da05a788b","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.1.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.8.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.14_1697789269315_0.4856219759309075","host":"s3://npm-registry-packages"}},"0.6.15":{"name":"@ayonli/jsext","version":"0.6.15","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","multithreading","goroutine","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.15","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"fabea1785400b1140ba7927f3e133fc9bded7028","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.15.tgz","fileCount":257,"integrity":"sha512-MgVc2bbkqV9gRUDWFiynN7j0ZGs6/TmAWbO+fC/B+pvSUkWJkZxfkMYtoc0VEI4SveDq1/cQJ2R8V/Acio8M/A==","signatures":[{"sig":"MEYCIQDVaESRSEh019jrp2mI60phKpsNk8zIC0yw/j/3S2LoKAIhAOt8ebs6DO15aRvDKtzM3aGhf3/H222wtE6xblJWOGSW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1181692},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"e60ca75aa7811cd20fc07a0eee5a54c32de41834","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.1.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"20.8.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.15_1697838349521_0.9721247307119549","host":"s3://npm-registry-packages"}},"0.6.16":{"name":"@ayonli/jsext","version":"0.6.16","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallel","multithreading","goroutine","asyncIterator","json","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.16","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"315cd3afdb3e44242ea7ecb516bc1a46936b214d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.16.tgz","fileCount":256,"integrity":"sha512-17+eyeCyl/SmNCL/IsKI5Nrh7GhWOGQhxjoYVv+7xfVNxK1GFHSluLB7x+wsaH8jCO473NStprrcKPl0WXFfgw==","signatures":[{"sig":"MEUCIGouTGevOR8hgnr0ue38WDVwXcSmDxlf6n3EHGkKZKZWAiEAkTuVWr9bTBZm7U6xysgR8sOpBG8XmN9G6CKo28LCECc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1151519},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"a5669a9ccb93ba14b552f98a30f65cb617f1f0e8","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript programming in practice.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.16_1697947636920_0.37798184833007387","host":"s3://npm-registry-packages"}},"0.6.17":{"name":"@ayonli/jsext","version":"0.6.17","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.17","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"8647372061fa1e0c51cea2af328b672b543e02ad","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.17.tgz","fileCount":256,"integrity":"sha512-O5KJGmm4pcI6Lr5CpshzhixOAoUculz0vKdVNThjGxLOxPbkzBFdoYQ5LSyYSmbJhJOc0AFHzY6zdpgcNnK34Q==","signatures":[{"sig":"MEUCIAkDt5brKdxsUjX4lf4WMxPXNcqpqK5yklUZtnTFA3maAiEAgwQBH8foa3U8RMJSFMhb+gzZENF0qdbSe0L9wh+eKXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1161205},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"898e76a2db834492d310948a6d56519040d84ca6","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.17_1697985279829_0.05014760061886725","host":"s3://npm-registry-packages"}},"0.6.18":{"name":"@ayonli/jsext","version":"0.6.18","keywords":["compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.18","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"50518225a2f2cc927930ab0cc7f0d2bc3296aa0b","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.18.tgz","fileCount":256,"integrity":"sha512-LfYVDwVnXjZ6bpaq+JUvcLrdSXRFMBlY6J4jR2NjvVT/NcKhZ1/vPiGDMtYcUxw0lst/ttrrB03JyvaU+hHzgg==","signatures":[{"sig":"MEYCIQD7eIngPolcrjztEvr3fkUssFbThmX4FijIPEjXZpR7OQIhAJhWjzgDovz2VF4LIwcy+BqQc7XYO94PK/SCk4NvJjzU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1162047},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"8b4494b5e604f8784626e6442f02a194f5abb325","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.18_1697986607994_0.868656034766013","host":"s3://npm-registry-packages"}},"0.6.20":{"name":"@ayonli/jsext","version":"0.6.20","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.20","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"eca2cf35a0bf03451449f74a607a5e81e3e76b31","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.20.tgz","fileCount":256,"integrity":"sha512-0oMKN4iSajhVowEEE6IM85vbit+gpbUEWTSYs9qJrAThcBR6FMFnlx6lmdXMIBrZxz7ksAdFBpgF3RJpjrMuSQ==","signatures":[{"sig":"MEYCIQC8SyEZCa24tNejWNorO/t+Y8DpHz1l0fJnmPAPrj5XFwIhAOHzV5qOnfEUJ+bp2o4EDvNduUbJKHYLaEkAMHHywoWz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1174742},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"72d1b450aebd3bf3631aa9f2b2b258a914b7a0fc","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.20_1698081607656_0.026470282895405317","host":"s3://npm-registry-packages"}},"0.6.21":{"name":"@ayonli/jsext","version":"0.6.21","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.21","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"63349cb31efb25c253d8300432eda1bd140b3ccd","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.21.tgz","fileCount":256,"integrity":"sha512-ZKRLXgVEQxztqlu94GRaXn6z7641E3k3tXkL2rkBOClAYJ+l7UpnWcXLmHc+yML8pNCOdepGNEipjkHU9Zh2oQ==","signatures":[{"sig":"MEUCIQDa086IIsny78ofpbWDi3WMbewXTBNNTROpUPj+zenRkQIgWqTcHYu9WKkbRMqptgXGvW7rAuXpvoa6fGrwbzIxuK4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1209522},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"f6473e219932acb47fc35d1ff57ae796cfea3373","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.21_1698229637568_0.9510273381981227","host":"s3://npm-registry-packages"}},"0.6.22":{"name":"@ayonli/jsext","version":"0.6.22","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.22","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"c54766321fcbc90ba9ac0951c27205c1b8607b67","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.22.tgz","fileCount":256,"integrity":"sha512-Qrbtt0pEijXowWVpsVD/m88awZaN9krL3c5H9K4nzs5aLiH/eHpqkAm5TJKNHQIrLPcc0VSBZDpLgtuPhrXRPQ==","signatures":[{"sig":"MEYCIQDN/wgNElD/wyeguDGgrYb/SsPZDdzzCKOP8y/722UHrwIhANFJ/Dz+WRGyheNfVxoNxOwg5JbbkhLqeu/4aVX8vvDv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1218235},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"0c89fbc32ebf3c5ea5b857c116cbd84d1ae9c51b","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.22_1698519247563_0.22154499004829642","host":"s3://npm-registry-packages"}},"0.6.23":{"name":"@ayonli/jsext","version":"0.6.23","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.23","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"6ef95eb1d6b10eec422bd447d8a706ed78ee6cdc","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.23.tgz","fileCount":256,"integrity":"sha512-qeop06Iu9KnyHlH9mgYy/Ew+EU2Xko4MftPP+HCliwMQNS/Ouc0HygWOD2kh5Vx3xbBhwnGUBcPlS9fIH4KPYA==","signatures":[{"sig":"MEUCIQDqHMw2uAWGtXbtL56nRe9kDc3YnukYfWbEEtJZAeShfwIgM/8OKdh5wvpup4TWwd2yvvJ4S/9x12pYnG2N+56+m6o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1223762},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"e4115f1cee23f2d180f1020297a3e574be61daf3","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.23_1698946047454_0.22553721650212943","host":"s3://npm-registry-packages"}},"0.6.24":{"name":"@ayonli/jsext","version":"0.6.24","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.24","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"20dc170aab49190034b4decb8866b396901cb29d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.24.tgz","fileCount":256,"integrity":"sha512-44/DifGPZrt7XWKPHWRPOyNmO3bnoseliyWuv71wyp79SAmOME9K4TR+zqhDEAXLBpDIG/Nin+qiFcebDvVtHw==","signatures":[{"sig":"MEUCIGwCadKh7XnToEP32Jtm0B8Ai7WpqUCwtooe9PCiRSSJAiEAqqOqP9kOqD6515HSTIxUmeR4atbodvAK1rpJXAc2Z+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1233228},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"de92cecd7eedd111b19aaf92de5db761f9c3ce58","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.24_1703692305268_0.7044973013805329","host":"s3://npm-registry-packages"}},"0.6.25":{"name":"@ayonli/jsext","version":"0.6.25","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.25","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"653772ac4ed056dbcb78f3fc173430ed46ea5d29","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.25.tgz","fileCount":256,"integrity":"sha512-Tx2HOTMobfCKikndQsNauLzWnt134/Ct/4UfTY3EISyxKsK2ywlc8pOA4I73ud86Z7jP0duRWWReHx7UmRSw3g==","signatures":[{"sig":"MEUCIBE0csy+bJD9Kr2BF86BfVhwfy1Q6s5JnLRMLkcKcsSyAiEAqn8G5TzQSqoG1lE48IooigRLFRJ6cnE1T2R7EbLnqDA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1238044},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"e787b2497a539d8f90406c7a30de785b02c942b2","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.25_1704622992412_0.13497138011575815","host":"s3://npm-registry-packages"}},"0.6.26":{"name":"@ayonli/jsext","version":"0.6.26","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.26","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"519c70f2e3e771f505506e8cd0bcaab4976b6e1d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.26.tgz","fileCount":256,"integrity":"sha512-DQrtiTCXNB6HO1jft/lnXt8oK7z+lUj3b3DZsFaVswcfHSfAvBNMUWv/l91WBIdWzq1k90V1onlq/7EwZ+8nXg==","signatures":[{"sig":"MEYCIQD+tQmuB0lZGJecmafzVXpXF7Ai/I+X4XrDmTjiP1NffAIhAKc2eG4hYu7XoFoGGblQEaMCAcIcycgocquC3Sz5/tBo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1237458},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"c102b553d1a12d75d251efc2a324d071a44d89ab","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.26_1706104690365_0.8876617491492145","host":"s3://npm-registry-packages"}},"0.6.27":{"name":"@ayonli/jsext","version":"0.6.27","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.27","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"7bc5206aca410ef90f2c7c6837aa135803b6f25c","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.27.tgz","fileCount":256,"integrity":"sha512-h9rTmqyk0pdCwCPwJWYeFY+l8VBLKPDMtKU9qVQtUS/6PGoTTC/VJQyyV+nS6Wv0drf4btB6Lq542aujW/NwVQ==","signatures":[{"sig":"MEUCICT449ORdD62UrUzDcncjNsE2Zfpf6wsHs1Zs2cxXTbfAiEA2wW14k3AP5ysd1vNqEHPdl9aD1UDYES+Qnlx/uW65xs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1242395},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"be8693f31719c7c1c64fb21b4dc29e956ac69bad","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.27_1706113669676_0.8657267042743346","host":"s3://npm-registry-packages"}},"0.6.28":{"name":"@ayonli/jsext","version":"0.6.28","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.28","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"72693c9d8d23be8c5a0fc5c467a8fd68cef94ac1","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.28.tgz","fileCount":262,"integrity":"sha512-EkRka128VeXglhnwoHq13Rh1YIheyx4aZBoAY2uERmLBGypE6XfamRQWQ/M1UG727pPnEvivq+X0b09brsXd6Q==","signatures":[{"sig":"MEUCIQD2DvxOuo8QtJoA56qR8Aw7p+9ErzbLjy3FxJN2XPI+GQIgRQVmPpQQsiFhsJ0eslkIWymeOYXfaf1SxzsR7lz6dC0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1248668},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"5d2073a095521961c7b3737acf51b764b9523914","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.28_1706642889787_0.727163131890342","host":"s3://npm-registry-packages"}},"0.6.29":{"name":"@ayonli/jsext","version":"0.6.29","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.29","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"755fc1654f1c94b52edb3cb8ee88ebd7e4e7a3b9","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.29.tgz","fileCount":262,"integrity":"sha512-daKJ3qmZDtoeV6sP+XvC9Mhok+/2FZfra+BqkvJNCd20kxY6pmVSIBzOCe6pjbTu4JX6xAb81Z/bEcpmvTtV/w==","signatures":[{"sig":"MEYCIQCGJzGW5RtEB85Q0/7WmM4orTazD/GD1r4fOfs321AweQIhAMJJCy4ISGYzsD+9PBJiQM7PCM+yBmqI1CIgtEb4vR/6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1248917},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"183af871b46f3fa6a318c8bd6aa943f2126002db","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.29_1708150161458_0.1489968143071403","host":"s3://npm-registry-packages"}},"0.6.30":{"name":"@ayonli/jsext","version":"0.6.30","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.30","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"aac4fc16d52476e62c0821dad6b292d8086e2399","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.30.tgz","fileCount":262,"integrity":"sha512-vy+pfFBS8+4N0vDJGmnKdL1lYeQ5H/Adc/Xme023B8v4wVAC/wjbtBE+KQz651OjluhUrys43aRH6I41K3bqKQ==","signatures":[{"sig":"MEUCIQDF4tuWFGaIdTLh8TkOP1wamKM96+v8av5/dm1nPzxVDQIgHfecDfUZaEUpDfCVydLRhF/Z/ALB7palrLq19P5hI3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1254728},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"20e2630d0b782f2dab7b481b84e150cdb9b733a0","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.30_1708539367971_0.241568499410024","host":"s3://npm-registry-packages"}},"0.6.31":{"name":"@ayonli/jsext","version":"0.6.31","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.6.31","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"dae3b316f7607bce4cc779ed9f9c7b9ad43554d7","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.6.31.tgz","fileCount":262,"integrity":"sha512-CQA+Kg6NATJDXHO3VZjKz/GM6rb+7MwQxKX91L7ryYv+UkFMSC3kjgzn+6CP2ON7gxCWkRL6ntzmoJZIgT9h0A==","signatures":[{"sig":"MEUCICx0oxP3VGlqT5Ve6DM+4kic9zXMnRNkyMpHgamVr8wmAiEAl/kMbhpaKeaIVRARVigMqEioLmH9242OmokLEQPA6Wc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1261132},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"bc9eec383e450e5acb81a4231d6875755b0f5c46","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.6.31_1708611360917_0.7404056175771891","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@ayonli/jsext","version":"0.7.0","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ec56c6ee67304ca02b4dbe12a179f851ab9f9255","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.0.tgz","fileCount":274,"integrity":"sha512-khw8AifEt97Jk44VKhMQpDwikUjylwNfY+lZ1YtGlB0FVylqhhXfgwSf7VotqWRmu6JIhk+MlPxLSuobdne6DA==","signatures":[{"sig":"MEUCIFmDDwplXQXlwOGIOZyxlBcuskP/1iSB99od1v6wtFPDAiEAgNW3BbHWVzDdQqcmKLBpO+5Wl9dKROviEjkKtFgnr8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1346778},"main":"./cjs/index.js","type":"module","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"5cd6acea16a8a8a8113f5843eec002db386e0bf7","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"tsx ./node_modules/mocha/bin/mocha","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.0_1708949434737_0.24494280203234742","host":"s3://npm-registry-packages"}},"0.7.1":{"name":"@ayonli/jsext","version":"0.7.1","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b0496b2c5645e3c6708213939d5d9c916c0c0b72","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.1.tgz","fileCount":274,"integrity":"sha512-CjSVzcnXoGPgAty3TYYUkOYU7pNFBeEa37Wq0Abj2fi9o2dglAuv8UMz2vSjXtGcbwLmR/5BHWjDVsP5X7ecbA==","signatures":[{"sig":"MEYCIQCWkzFpSmTICQl6Bv32/ciJzUL8yvvRQ/w4qziICF6DwwIhAPmiSuSUUjgPWBNz4Dbur7DPahzGD8UmDA5EvHcT3u1y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1346875},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"1d2d6b2b8d9fcb93b2e0ad571f18ced2f02f8999","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha; node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.1_1708962951044_0.2783913557840567","host":"s3://npm-registry-packages"}},"0.7.2":{"name":"@ayonli/jsext","version":"0.7.2","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5e30bedaf9bad3b7ee09ebab9c3db5ffbd88a22b","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.2.tgz","fileCount":278,"integrity":"sha512-qAagMXCZRBq3rOE8t5RoukrX5tYAfmukE2/BYdIpUAIPTgbVG5He4m4RDeA1Nm+JRAMW0ENFr5SQbe3iCPKSEA==","signatures":[{"sig":"MEYCIQCPnfMZTRLcxLroHLt9MNqvv7H0iaAviGhpBoDaQFPwswIhANyXqLG59Tk0crNbe7dCpVOsUkAxMbqo4R8eN69xKweA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1414445},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./error/Exception":{"bun":"./error/Exception.ts","types":"./types/error/Exception.d.ts","import":"./esm/error/Exception.js","default":"./error/Exception.ts","require":"./cjs/error/Exception.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./collections/BiMap":{"bun":"./collections/BiMap.ts","types":"./types/collections/BiMap.d.ts","import":"./esm/collections/BiMap.js","default":"./collections/BiMap.ts","require":"./cjs/collections/BiMap.js"},"./collections/CiMap":{"bun":"./collections/CiMap.ts","types":"./types/collections/CiMap.d.ts","import":"./esm/collections/CiMap.js","default":"./collections/CiMap.ts","require":"./cjs/collections/CiMap.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"d0ef10a8a2f9a0c144a758e48fcd891eb8e68c06","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha; node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.2_1709473969313_0.23744097190454383","host":"s3://npm-registry-packages"}},"0.7.5":{"name":"@ayonli/jsext","version":"0.7.5","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d3151ca297bbed29b5ace11c43091f60cbe2a3e9","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.5.tgz","fileCount":278,"integrity":"sha512-YAunhlp/hyxBVNI5xZ2fEagzfJUi7kP+1dDgqh96SBQ+FlN6EJZ6Q2r1uJVykX+QTIoA4io+GX6dfRaJdqEjmw==","signatures":[{"sig":"MEUCIFTiIxkCr64m9wTBfOqjTApvpStCFCt3MT1MUm6Gg7otAiEA7hoiH7s3fyoe03q036/gMGY4lu9ukKQmEK+KxfPB4uc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1438676},"main":"./cjs/index.js","mocha":{"spec":["*.test.ts","*/**.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"b7dc891ac90a02a9c896d957487e543f2745ef9e","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha; node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.5_1709996643921_0.6217835982029631","host":"s3://npm-registry-packages"}},"0.7.6":{"name":"@ayonli/jsext","version":"0.7.6","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"2e22d31acd6930a45f2a11211c61c0d109f7b342","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.6.tgz","fileCount":314,"integrity":"sha512-+207kAi4PTFXSA6HmzlUCcy01YM9P/wVy0woAtJUjQOXifQ7anareyt2CPzjBTjZiJauO3qU7X1XUvA9J+7bhg==","signatures":[{"sig":"MEYCIQC7jxeX+YP+aDcm1LdD7ZDM1wKucYijRITrDcvDeuKOFgIhAMOsFDEOD+sLHggAK3OV6uyeFmuQiSQLlfoqphJSMm1z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1500600},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"c9c8fc6616442032ae50bb874feed5cb83b3daa0","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.6_1710082156053_0.15540417591252598","host":"s3://npm-registry-packages"}},"0.7.7":{"name":"@ayonli/jsext","version":"0.7.7","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d2f3715303dcaec0aef7693f29085d1a462a4746","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.7.tgz","fileCount":314,"integrity":"sha512-mqIgcyfcBE5xtl8BjArlS3SQLWdDWIuqGdLK2BqN6chPA/Cnm+IVAu4eyQGWc3x24dkLXjnyQ7kHn4F3jd9BiA==","signatures":[{"sig":"MEYCIQC1Uqtpymaf/Hn+Yivi+92/ti28ZQqr2BhEVjspvKB9egIhAJy1qXfrxuRDUXl8g+5wGyL25bPInjT4rHLu386rWVgP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1500600},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"bf78787b28cd30bad540a8e0c9a7a0b048b2e747","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.7_1710082794532_0.1093474497519682","host":"s3://npm-registry-packages"}},"0.7.8":{"name":"@ayonli/jsext","version":"0.7.8","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.8","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"35fdbefff3e6ca014069f1aaae90be12073798c5","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.8.tgz","fileCount":314,"integrity":"sha512-nT+NJz/AfqvyLzoriAKjNVQQ++MfHA9bktWKFcEqaUe8TAgOC6v6UpVhA2DO5hnIY+fW1ZcJ90QItOnHtU8zxg==","signatures":[{"sig":"MEQCIDqysB/3oU/WOWNbsezqav4eLNKWzMBbsnWMVw7aF3TRAiBiqvZrw6h/1mSOwy8rJ9haM0hxhkFT2GP62WUUdcXL9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1511261},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"f1fc6039135b1f07f37660669c6dccd85f81b90e","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.8_1710430607767_0.6256921044502612","host":"s3://npm-registry-packages"}},"0.7.10":{"name":"@ayonli/jsext","version":"0.7.10","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.10","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a78621082ee09d8b58e245ff638df94bb5b433b2","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.10.tgz","fileCount":326,"integrity":"sha512-WsUQ4Q8aJKBfspPQpazDw6JhBuB1dbCorLIKD3Xc8BN3aHV/HSag73vzBXhZIQoBTPFc2hLVxQrzDGJvo6D4nw==","signatures":[{"sig":"MEUCIQCXlKTt9jWAEk9P4NaJfRT/8PvdPKWe+nBa8dYJVOiIRwIgAy4NKgCWQ8QbT7js/fgTs3YZpfhc2DDJPvy3OlEkEJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1581766},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"10ea114ef15b95f71d8f98793b6a6f7215705377","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.10_1710696359563_0.1094847766823146","host":"s3://npm-registry-packages"}},"0.7.11":{"name":"@ayonli/jsext","version":"0.7.11","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.7.11","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"802966661ddbfae82b7fe6b0b6865326e1c1ba72","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.7.11.tgz","fileCount":326,"integrity":"sha512-6+eZVDYtPwX+7rPBeQO5KRJsz+g+LiYQyyuVPcuRlqJ9qIqvX0Enmt9Ozz0JRAVwbIIZ3sSL4AUWx1ZeJyzTXw==","signatures":[{"sig":"MEQCIHd7SZ+yA9kzzBepBR+MbvzZOBDdVzE2cGl55/7jGcV/AiAN3nXUaCxo1HGL+C0eHkCEjkEPCHBO4r2xexvtBIwNKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1611973},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"2ac1d7b9a56888297a46b6f3310c25f79b3d6aff","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.7.11_1710945605408_0.8396747166178746","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"@ayonli/jsext","version":"0.8.0","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"fb8bf30b0d5326e85385f7ef17237c1384f3b55f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.0.tgz","fileCount":381,"integrity":"sha512-p6pT8tncCG6C9xex8u5J10OsD9NiWDQ0yR0jRA8fchR765bF1RrdIP73BFa9pFCiZ+ugrb2Rg+MJzaKFnGHjKw==","signatures":[{"sig":"MEQCIF8cX7tGcmw4/EoPigMukiT0BQk0s7Hnh+VIyB9LCOhaAiBmPMSeXErflFsNgnKxEST6EBIkjYEBqFquMy6bAtIKTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1805561},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./bytes":{"bun":"./bytes/index.ts","types":"./types/bytes/index.d.ts","import":"./esm/bytes/index.js","default":"./bytes/index.ts","require":"./cjs/bytes/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog/index.ts","types":"./types/dialog/index.d.ts","import":"./esm/dialog/index.js","default":"./dialog/index.ts","require":"./cjs/dialog/index.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"316731b923353bca3bc007cd3d5a4926268e0a18","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha -r global-jsdom/register && node posttest.cjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.0_1711275160683_0.5511347773791755","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"@ayonli/jsext","version":"0.8.1","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b7db3efab0bfe58496aced78ca76bffab9390435","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.1.tgz","fileCount":381,"integrity":"sha512-kGv4h0YDimVO1OsiBkZ3DcMSrmBHFyBDN7j9XwhlKD44EVBAOrXUebhhFS04Auy3QUAhTymFenBK+lfaEkD+mQ==","signatures":[{"sig":"MEUCIDhxH7uFUhWH20zjXjchLCwTWt4MZ/QMU8stgvEpWMnAAiEA54JngNWUObdwMUqJY+xXBQlCzEWTU9GEUugt97QMKsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1826129},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./bytes":{"bun":"./bytes/index.ts","types":"./types/bytes/index.d.ts","import":"./esm/bytes/index.js","default":"./bytes/index.ts","require":"./cjs/bytes/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog/index.ts","types":"./types/dialog/index.d.ts","import":"./esm/dialog/index.js","default":"./dialog/index.ts","require":"./cjs/dialog/index.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"6b9e0d8a2209ae4f8ee064a67fd007ffabda8925","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha -r global-jsdom/register && node posttest.cjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.1_1711295026029_0.09480102784271138","host":"s3://npm-registry-packages"}},"0.8.2":{"name":"@ayonli/jsext","version":"0.8.2","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0ab2707003efb994fc95712329a89dc807e77b2f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.2.tgz","fileCount":381,"integrity":"sha512-FN9YaBqHZ29A9QXoiEfXbJpuRC2Lt+/dvu+GnGPeEvm3Bqjlx+5B467K3/gi/16Q4AxDKprQ5T+aUxfxUu98Cw==","signatures":[{"sig":"MEYCIQCErFQq4BEUdHHNxLe8kIeamP9cT0VMRZbvGEJqNoIzywIhAJqArOK134kDK8p+hkcsambaMlrQUZNotq7zW2P4g+j8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1826370},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./bytes":{"bun":"./bytes/index.ts","types":"./types/bytes/index.d.ts","import":"./esm/bytes/index.js","default":"./bytes/index.ts","require":"./cjs/bytes/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog/index.ts","types":"./types/dialog/index.d.ts","import":"./esm/dialog/index.js","default":"./dialog/index.ts","require":"./cjs/dialog/index.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"44939c65312084e6788835f7fb07ed5960723835","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha -r global-jsdom/register && node posttest.cjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.2_1711296753969_0.7331926071134212","host":"s3://npm-registry-packages"}},"0.8.3":{"name":"@ayonli/jsext","version":"0.8.3","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"61ac44ea7cd0b0ed3402ad4b49db231ff5c6547c","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.3.tgz","fileCount":381,"integrity":"sha512-55refXmfwxRwG9n577ZSvEKFM//x3UmTaz7EN8dy48OF1meKLQHzY4njoukqLod+ikYsI1IYDiJaw7mvU7Qblg==","signatures":[{"sig":"MEUCIQCspyPcpvsmIF8vXA0yGrbMEK5B36t2zl77R1PAgYWvOgIgelB4eMrlc482virlL0Fi3AwZt/jdQen5FotEc4a29wA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1831823},"main":"./cjs/index.js","mocha":{"spec":["**/*.test.ts"],"exclude":["*-deno.test.ts","*/**-deno.test.ts"]},"types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./bytes":{"bun":"./bytes/index.ts","types":"./types/bytes/index.d.ts","import":"./esm/bytes/index.js","default":"./bytes/index.ts","require":"./cjs/bytes/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog/index.ts","types":"./types/dialog/index.d.ts","import":"./esm/dialog/index.js","default":"./dialog/index.ts","require":"./cjs/dialog/index.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"7fec7327b694a1a78cd474f5e2cfa0ac2e51ab5d","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha","build":"rollup -c rollup.config.mjs && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p types.tsconfig.json","typing":"tsc --noEmit --watch","pretest":"node pretest.cjs","posttest":"node posttest.cjs","test:bun":"bun run ./node_modules/mocha/bin/mocha","test:tsx":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha && node posttest.cjs","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"node pretest.cjs && tsx ./node_modules/mocha/bin/mocha -r global-jsdom/register && node posttest.cjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.3_1711465631159_0.12915842674050326","host":"s3://npm-registry-packages"}},"0.8.4":{"name":"@ayonli/jsext","version":"0.8.4","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"32bbab5e8b376e0a8bb2168af868feb72e172560","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.4.tgz","fileCount":405,"integrity":"sha512-x+D7QEiKJPa3zYNBrGj7O+VfzKDUmWK1IK0qf5xdZdQ2u8zPDP7GAEvshUd/eLRZp1GZ7CHUV3mw9rl1o2AwYg==","signatures":[{"sig":"MEUCIGdDhFKVy1bBZA9B6Vl0hbwWCQp7V94ckGFjStnJ7K7nAiEA7H3dd678bHIYOHlRWmBhfLSLGpXLjP7iYzvSXKtGteA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2183493},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./bytes":{"bun":"./bytes/index.ts","types":"./types/bytes/index.d.ts","import":"./esm/bytes/index.js","default":"./bytes/index.ts","require":"./cjs/bytes/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog/index.ts","types":"./types/dialog/index.d.ts","import":"./esm/dialog/index.js","default":"./dialog/index.ts","require":"./cjs/dialog/index.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"a8f9e9b58af6612c38982c38e09cd602606e7afe","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.2.2","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.4_1711859059006_0.43510114654461685","host":"s3://npm-registry-packages"}},"0.8.5":{"name":"@ayonli/jsext","version":"0.8.5","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a75057c13d2dee7ff72d9b1c88be8f2c1082da4f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.5.tgz","fileCount":429,"integrity":"sha512-RR8HhNT5AZXb7sYkB42UNEW0PKBMWIYfiAh75649xw4eRhCvFgjw/cI8+Zsa69JaXSpFq2n7Q23SgKzIza094w==","signatures":[{"sig":"MEUCIQDctdVgVRCy7LYDTwNS1ep4f9aKGd2eX1fWjyfEoEo8rAIgAJJir18kWOE9PxrAK8sL5GZEqHWjOQa6h7JOx84Z9Gk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2204812},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json/index.ts","types":"./types/json/index.d.ts","import":"./esm/json/index.js","default":"./json/index.ts","require":"./cjs/json/index.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math/index.ts","types":"./types/math/index.d.ts","import":"./esm/math/index.js","default":"./math/index.ts","require":"./cjs/math/index.js"},"./path":{"bun":"./path/index.ts","types":"./types/path/index.d.ts","import":"./esm/path/index.js","default":"./path/index.ts","require":"./cjs/path/index.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array/index.ts","types":"./types/array/index.d.ts","import":"./esm/array/index.js","default":"./array/index.ts","require":"./cjs/array/index.js"},"./bytes":{"bun":"./bytes/index.ts","types":"./types/bytes/index.d.ts","import":"./esm/bytes/index.js","default":"./bytes/index.ts","require":"./cjs/bytes/index.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error/index.ts","types":"./types/error/index.d.ts","import":"./esm/error/index.js","default":"./error/index.ts","require":"./cjs/error/index.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog/index.ts","types":"./types/dialog/index.d.ts","import":"./esm/dialog/index.js","default":"./dialog/index.ts","require":"./cjs/dialog/index.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number/index.ts","types":"./types/number/index.d.ts","import":"./esm/number/index.js","default":"./number/index.ts","require":"./cjs/number/index.js"},"./object":{"bun":"./object/index.ts","types":"./types/object/index.d.ts","import":"./esm/object/index.js","default":"./object/index.ts","require":"./cjs/object/index.js"},"./string":{"bun":"./string/index.ts","types":"./types/string/index.d.ts","import":"./esm/string/index.js","default":"./string/index.ts","require":"./cjs/string/index.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./promise/index.ts","types":"./types/promise/index.d.ts","import":"./esm/promise/index.js","default":"./promise/index.ts","require":"./cjs/promise/index.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./uint8array/index.ts","types":"./types/uint8array/index.d.ts","import":"./esm/uint8array/index.js","default":"./uint8array/index.ts","require":"./cjs/uint8array/index.js"},"./collections":{"bun":"./collections/index.ts","types":"./types/collections/index.d.ts","import":"./esm/collections/index.js","default":"./collections/index.ts","require":"./cjs/collections/index.js"},"./json/augment":{"bun":"./json/augment.ts","types":"./types/json/augment.d.ts","import":"./esm/json/augment.js","default":"./json/augment.ts","require":"./cjs/json/augment.js"},"./math/augment":{"bun":"./math/augment.ts","types":"./types/math/augment.d.ts","import":"./esm/math/augment.js","default":"./math/augment.ts","require":"./cjs/math/augment.js"},"./array/augment":{"bun":"./array/augment.ts","types":"./types/array/augment.d.ts","import":"./esm/array/augment.js","default":"./array/augment.ts","require":"./cjs/array/augment.js"},"./error/augment":{"bun":"./error/augment.ts","types":"./types/error/augment.d.ts","import":"./esm/error/augment.js","default":"./error/augment.ts","require":"./cjs/error/augment.js"},"./number/augment":{"bun":"./number/augment.ts","types":"./types/number/augment.d.ts","import":"./esm/number/augment.js","default":"./number/augment.ts","require":"./cjs/number/augment.js"},"./object/augment":{"bun":"./object/augment.ts","types":"./types/object/augment.d.ts","import":"./esm/object/augment.js","default":"./object/augment.ts","require":"./cjs/object/augment.js"},"./string/augment":{"bun":"./string/augment.ts","types":"./types/string/augment.d.ts","import":"./esm/string/augment.js","default":"./string/augment.ts","require":"./cjs/string/augment.js"},"./promise/augment":{"bun":"./promise/augment.ts","types":"./types/promise/augment.d.ts","import":"./esm/promise/augment.js","default":"./promise/augment.ts","require":"./cjs/promise/augment.js"},"./uint8array/augment":{"bun":"./uint8array/augment.ts","types":"./types/uint8array/augment.d.ts","import":"./esm/uint8array/augment.js","default":"./uint8array/augment.ts","require":"./cjs/uint8array/augment.js"},"./collections/augment":{"bun":"./collections/augment.ts","types":"./types/collections/augment.d.ts","import":"./esm/collections/augment.js","default":"./collections/augment.ts","require":"./cjs/collections/augment.js"}},"gitHead":"18574347e6dbd2b096cecea83e4447ee5f6711dc","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.1","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.5_1711984982811_0.8407556324146983","host":"s3://npm-registry-packages"}},"0.8.6":{"name":"@ayonli/jsext","version":"0.8.6","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"593bb9ce6f66f302752b77ed49faa4bfded1cfc3","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.6.tgz","fileCount":429,"integrity":"sha512-ddlaOw9ufoSi24zPfpZmdDbZNbvbjF/ooT/0wemuENpIrkS4twfhxPOglEECWmokh9THp50rkXXkuoqBUApZGw==","signatures":[{"sig":"MEYCIQDwj4nT/hCVGKGdTOEINHEvanp4ywPjVfadjQABHOoywwIhAI6s3cwQyniCzJlSxYE9x3WjcedKNihlE92KIVFWGQuT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1962509},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"98b2c756bf9eba1587c001f535eaea042cba2bcd","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.6_1712295815316_0.06520660074656703","host":"s3://npm-registry-packages"}},"0.8.7":{"name":"@ayonli/jsext","version":"0.8.7","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"37dcba56bbe2581815cad1991b7489d7fb08fe65","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.7.tgz","fileCount":429,"integrity":"sha512-nTycYMNiHFrsd7v8wrBfICADPC573PQZa0y8Z9mNW0iNjbMoiYJ5hjVPr0MWyjEInzEa7bhHs7chkUENSIeJtQ==","signatures":[{"sig":"MEQCICn2oytls4F+8t21rMVjGvGCoJc7U7U0ceQGPpU4ujG9AiB/Nm5NBYm6EaCbJ2/pMzKUuEQ6qy+eFsYbG/DKyEv+hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1965650},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"27a8eac16ed8cb7b668c5da13d70c83a5bbb96ee","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.7_1712325788343_0.3332408652909751","host":"s3://npm-registry-packages"}},"0.8.8":{"name":"@ayonli/jsext","version":"0.8.8","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.8","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"534cc6702e2c7958bd330b1776a618ffaaa181f8","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.8.tgz","fileCount":435,"integrity":"sha512-TRsie//jQj5VkRW9iM35V7wh6IfIrQ8vabJZ03hSbsZ/WAn3tZUZkRJWWxilOCdQeG3uCptnwnzuMsUYd3Kvww==","signatures":[{"sig":"MEUCIQD9Z/ly/Lmmp3If+XJsiSkImnEhNGnBIJppYuaO8knq6QIgM1lQfkzK83m7ePfAiP9Ojwx6ZKL+NxWQbNur6ddfxN8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1967067},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"552ea89538d9bff5640929bb212fc3015b959eee","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.8_1712339721370_0.25560059653600353","host":"s3://npm-registry-packages"}},"0.8.9":{"name":"@ayonli/jsext","version":"0.8.9","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.9","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f8ad2673109260c195776c34c44b78272b9a8967","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.9.tgz","fileCount":477,"integrity":"sha512-8cvV5xfjoXPrjsuzlECEYua9NHwshhoL7wnzN41hcwNMYtZWj3GjoYS8pv+IuacgvZ9pnBYlMzpth0ulkW7bDw==","signatures":[{"sig":"MEYCIQDjd2uqbAP/lPcBHRScwdim/z2wW9cMdRXtZHRlzCdABQIhAOyifhD2x8loBP9tltpy3ShuVO0o5S7Pwl+911e4zbET","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2268745},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"866f4ac95e44e129d136afefda031d2e80b8d914","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.9_1712471104183_0.7035436378306412","host":"s3://npm-registry-packages"}},"0.8.10":{"name":"@ayonli/jsext","version":"0.8.10","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.10","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0be1478a066b9bca7ff744b2d89fe222603e71c2","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.10.tgz","fileCount":477,"integrity":"sha512-aEVz0M3rSgRtf6A+kNk83rYXXy9mGDCj9upi2YpZ6vUBQitIKT73k1rqslxV4c34orgAOaVUPv0sgS6F/zXsXA==","signatures":[{"sig":"MEUCIQDajSSUkPi8rj26w8P/dxGUXgmXHD0Q3D6wDEDADqMnkAIgbo/PxkObMEBbbxr4CYkUoyho3tVd2mTg5oE3iwV+6m4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2268746},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"920343bca705af4259d8fb584fe6f60eace352d2","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json && tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.10_1712589860420_0.9422896816644477","host":"s3://npm-registry-packages"}},"0.8.11":{"name":"@ayonli/jsext","version":"0.8.11","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.11","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"bc4da3c077bbeac29fd8914ed9abb4116c44b687","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.11.tgz","fileCount":477,"integrity":"sha512-c3aaN5HIZ1AACCbPv2Ppht7wjr/CoWlVd26z4V2b0lq5B607D7IL3mszUEtAxA7HksI+0TrPR7M08PFTJrx6yQ==","signatures":[{"sig":"MEUCIECEXCKsYbmwjsUTIbp+GjAAG9j7oleTPY0mKrx4+YSyAiEAxXDJjLykZHmUdxHRwP5BzWJdrtee8XyUlviM1SgtWA0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2274198},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"662875547dbe8502fa151852a3d560bac18cb023","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > ./esm/package.json && echo '{\"type\":\"commonjs\"}' > ./cjs/package.json && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run --allow-read --allow-net test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.11_1712598665265_0.477534443860242","host":"s3://npm-registry-packages"}},"0.8.20":{"name":"@ayonli/jsext","version":"0.8.20","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.20","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5d911d8e6259a5ade854cc8394bc3578e73621c9","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.20.tgz","fileCount":513,"integrity":"sha512-dtacL3Ns3T+MCwkUpMQvSpu68oeoFXN6bOpkhmaG4wldb/7J4eNPyi6CO4n15GmuoJn0k1ELTIcXlF9Sm4o5uw==","signatures":[{"sig":"MEUCIFZubDTW6J004ULxRhXEMju16/NKCF1hjggHFlSNjDEkAiEAmyy7uQo9uaMYgvaXqQcUR8KoIe7yPq4kbpIOfNAokHY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2416579},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"d03560ba9b934d67675f935710264871a21fe28d","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.20_1713033794628_0.4946815456555511","host":"s3://npm-registry-packages"}},"0.8.21":{"name":"@ayonli/jsext","version":"0.8.21","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.21","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f1985f3b327f190ffafd241065b704bbff49590d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.21.tgz","fileCount":513,"integrity":"sha512-lc1tbXdMXT/RWgQHw+6bgBi9wqpN2/V7DqI+ZCY5LRWpOEgvHX2vfXDxgIZQdrShEBrqsgS7JcwFxUTgYr5vvQ==","signatures":[{"sig":"MEUCIQComMeSEuUo7t38HbgRyarRBYbBPsZHKrkInWeiAFUrLgIgDGyV56ugSjlO1e7CtWpKF8npjUWQXYjGn44o2ho09J8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2416531},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"2f6f155da5508d6da091267d160d56720f66f007","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.21_1713036221964_0.5385908273012447","host":"s3://npm-registry-packages"}},"0.8.22":{"name":"@ayonli/jsext","version":"0.8.22","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.22","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b08be78ac875ea473ea886af3cf2c07a6b5a17ec","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.22.tgz","fileCount":513,"integrity":"sha512-HiFFmuKJBOXXOZokBT78wPlm0nlq2YLzznFVPu2QPhOCn2CLKm1eJYNwHpkz5LOqAK2utfnteX36O+cI4IuyBg==","signatures":[{"sig":"MEYCIQDEwpJHQchAjh2mPOnVK47NotRUYLrT3M4AL3/Znen/MQIhAKc2x0Xb44gqpbgdfaGKjZclu5iQ0eSPdtC8k+WB2P83","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2431755},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5b3b0fea1e5bbcb79ffd62c9dfee02ce43bee368","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.22_1713112099500_0.9665993830512527","host":"s3://npm-registry-packages"}},"0.8.23":{"name":"@ayonli/jsext","version":"0.8.23","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.23","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"58e50bbbd5931e1891a9d82986a319bbdc735932","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.23.tgz","fileCount":513,"integrity":"sha512-GFq9i6mWhL8MsHBFt3ql86n3PepQb3JgmrE1SPRw3qFBRjdmzHCy1Zlt1jX03utRsygdKuqbXLx2OslP3uiQaA==","signatures":[{"sig":"MEUCIQDRR6Lng6zU8ePOg1TzmaUikc3NglPumVLoMW7W4vA9CwIga0U1Qyoq1WIeDGkqxYarJFpwYFHwdxx0AD5oBMx0MbY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2436689},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"e8a0878f2652c1a69fcb33b625e71a6613c0aa48","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.23_1713196687099_0.4153277535189621","host":"s3://npm-registry-packages"}},"0.8.24":{"name":"@ayonli/jsext","version":"0.8.24","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.24","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"fa7195b71a80d9d154c11b69673ef446798ff5e7","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.24.tgz","fileCount":513,"integrity":"sha512-9XvfOsSuDA/tEFbz6LLs/fdpZkRhQ0MWWoQX0m5+mLj4AuDnX4/uW5pwEmDyp7wiTdOsrdVp+v2DjXRGZjStjA==","signatures":[{"sig":"MEYCIQDCF98bode5vCmdinW4XnYDTM9bzxkTiFxCHe7Pc1IrdwIhALPGG/NNT69TdFnqiC8PXbudcS6Fv9I/87qyLQZTE9w5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2436742},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"ae088c080613704b5f0a08582594bf0f78cf8df5","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.24_1713284661789_0.7055603192963145","host":"s3://npm-registry-packages"}},"0.8.25":{"name":"@ayonli/jsext","version":"0.8.25","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.25","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"336fdad82b0a6dff26ba8c74bc071b15dff52088","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.25.tgz","fileCount":513,"integrity":"sha512-tcG44fYJOXDaIYyubmKQSs4u6WK/lalDvmtmd3d5OZ3YoZY51zqZfFkz32CkXUrH8OIBmlFkhY2lzpGsMnCUxQ==","signatures":[{"sig":"MEUCIAN52p//PQNY0ddwh5xjaIdCJIdpBYNaVNFb2B5YHTDTAiEA5Z7Bj4s/EdjhO1Pwa4MgAOfPexdH5K3fFskIjlhlQnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2451420},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"ac36f852f90ac058abe74f28c5f5c88bed51786d","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.25_1713458136265_0.9673656255146845","host":"s3://npm-registry-packages"}},"0.8.30":{"name":"@ayonli/jsext","version":"0.8.30","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.30","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"56ab245d9c578b607a18f53a738f15f8935d22af","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.30.tgz","fileCount":519,"integrity":"sha512-HHBN0b5YHxZq6YPZDcF3z2GPvRSorravR0w8Anq4KJu+BoJJSReKKVeE8muSO9uWdwzBjzk49J3wIgTXm8lWKQ==","signatures":[{"sig":"MEQCIDgZ+oN/SUdgKqNBENAz9f0Aibti222upyIhWqxBXTxcAiBiqL+T9MESWHU87ytQJ5hzyTeHhUS8mThbcGwWHk7zfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2456342},"main":"./cjs/index.js","types":"./types/index.d.ts","module":"./esm/index.js","engines":{"node":">=12"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"05cf25133823bc3c7bb218cffa56ed85f2751ab6","scripts":{"test":"node --no-warnings=ExperimentalWarning --loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.30_1713625871780_0.838738658533037","host":"s3://npm-registry-packages"}},"0.8.40":{"name":"@ayonli/jsext","version":"0.8.40","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.40","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ca636b32a0bc66789811230b702413c6f8965015","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.40.tgz","fileCount":519,"integrity":"sha512-ALmRZYZyJyOaqn83dGmHGV88jarIKpt40CPuWJklQZRvZOME1ZrBNt+9kKcMNFDwFWoa6iAmDmvF8Sh+VAT7jw==","signatures":[{"sig":"MEUCIDz8lpq0UisTyqD9VTkMmod2u2an0C6p5zKcXbPg2s3TAiEA4DqZU9jge1nJaOPzSSozT4hibMPegh6SYG/RfNyYqSo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2626499},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"31382b28be0c30f4cd0a3946d39a15df70a34746","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.40_1714209942734_0.17083610223714296","host":"s3://npm-registry-packages"}},"0.8.41":{"name":"@ayonli/jsext","version":"0.8.41","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.41","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"db3e6f3056bf6a82c0eabaaa533f32c80fa5cbab","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.41.tgz","fileCount":554,"integrity":"sha512-MkMfw0156y2G2dZu2ym/v79KdIbVuYSc/NeD8WCYJtNHhB2xO5sE4ZQ4TGk236MYigI1ttMI1VVoFyhI3B1axw==","signatures":[{"sig":"MEUCIAeCJubzMG4N3FiRUbHuoJgHgooh+s4/2bE94EfO92JJAiEAhQOPFe8JaXDdmgzamsUdYDnGEL0dqojJrH08kZcyLzE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2754218},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"747e43e70e211694a75a8afc4430e87211725b03","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.41_1714508486473_0.23370324368064543","host":"s3://npm-registry-packages"}},"0.8.42":{"name":"@ayonli/jsext","version":"0.8.42","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.42","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"2ab867ecd157071598947ea48ed9da042d5d2c4b","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.42.tgz","fileCount":558,"integrity":"sha512-L3ReclIj9GoKTK2Ffxwv4XzLw2K1e1luqsX2V+mZ7pYRHQYwnR32kLNlFkTMdrTcg8xYpvf3cxuhwf62SffI+A==","signatures":[{"sig":"MEUCIQCKr0vTMO6Y8w/YajXxlycygcr8aFo3oCnbwM3ASQXvgwIgBPA+r7uCnC4Qv+6hvJ1vt2j+cbCz+H3cT7IjEpfCWiQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2763837},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"78760cfd4b63dd050c62af14e5cccbe1d8691d9c","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.2.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.0.0","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.42_1714550100275_0.9715938784972988","host":"s3://npm-registry-packages"}},"0.8.43":{"name":"@ayonli/jsext","version":"0.8.43","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.8.43","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"cbabd5780bc591f486b682faedc954a81e6ced17","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.8.43.tgz","fileCount":558,"integrity":"sha512-YTMIsY3ZNPf2VdaKNsSVVcbgEzX4qBcEPSu4Yq4AHf/U7jD/4HBSwFuA81NBLYfdvysm6Wxy0dx96K5q25R0Ww==","signatures":[{"sig":"MEYCIQC+hmkLMi8XYOTIx7Y71Mzu0oRCzYcsM/45rVsPadZP1AIhAKP5mIamNbSJR+R8uuB0EZsoIcv2lStCmHury6XjJQRk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2774209},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"c9aa2867eb0ba56970b77d170b4f7250f27e3176","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.8.43_1714809972234_0.30816302727309663","host":"s3://npm-registry-packages"}},"0.9.0":{"name":"@ayonli/jsext","version":"0.9.0","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ab39f7802124abb5b137760f684f8fc61f9ea054","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.0.tgz","fileCount":588,"integrity":"sha512-67P7LnNINCEkScBKnSOVwN308psTSHcEqTSL/4+nom0/TcsVVf2EtDHlJ9FYWrCT7BWrOhYddJI+4QVbhgEC9A==","signatures":[{"sig":"MEYCIQCvQggqEJ707yESvDxYViKvMRUt5B/ciQVAePlon2RzawIhAJFy+6U0gXv2jnEOKETtpJsSGymk5wUX+8ui7XypPUth","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3216492},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"3bf2165bdf16dff5c8cef54b3ff8c4078197be7e","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.0_1715624721670_0.3656300552387326","host":"s3://npm-registry-packages"}},"0.9.1":{"name":"@ayonli/jsext","version":"0.9.1","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5484c9384c3a0c39f9fe734e20be9827626f0994","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.1.tgz","fileCount":588,"integrity":"sha512-dsHqPVfLlC0keRzgsqV2pZMo9PiHaDqTcGRyHpAIkiiB95H6Bggfh8W8fkYZW/4Fm2Vts/9ID1TmINpxk+NYEw==","signatures":[{"sig":"MEUCIGOtd1Y+2bVu1qgHL9K9U0n/IynBnMM9cZk5aL+f/MhgAiEAtmuFwnHwohkKe6GfpOnM6+oUEnNVPxDwoXFzP/q4phE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3222608},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5566c2ef578fabfbdba426af4fb0eaa1c63cda9c","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.1_1715648879771_0.5855149914663216","host":"s3://npm-registry-packages"}},"0.9.2":{"name":"@ayonli/jsext","version":"0.9.2","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b02a882a33edfdcdf727ed7b484fee3b0531ad7b","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.2.tgz","fileCount":588,"integrity":"sha512-Rc//y9Qcyub20xNy3gAFeMKdwpV0yP/mAUaU2zenHbPbV/X9YaEsDoc5WU2vCIVDlaNjpIPUASj8MU/j6EppaA==","signatures":[{"sig":"MEQCIGcK7S8cY03+mis/hjYSLgce1RqOyolJpYWzSr+Q6qohAiAaNU4cF+j/Ju4Tl1RaGUo5kqeFMjRPTOXpOZ7bAbQ48Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3230835},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"2098071f8e57863192008e9e9926e16a9c93c3f0","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.2_1715660183604_0.13215603192495973","host":"s3://npm-registry-packages"}},"0.9.3":{"name":"@ayonli/jsext","version":"0.9.3","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d456a0b89768d410c768b31c245e52ef77390a0a","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.3.tgz","fileCount":588,"integrity":"sha512-fVC+reO8f64bvS55pOQlP3CVPxjPYnEgJnKoqN+cgfOj+tlb61dAdRcY7as5RyXO9R85AqBhLvd3uUIttRH/XA==","signatures":[{"sig":"MEYCIQCETgRjuYiL5uX/f4V92974LZ2vMa4O0PWeVm7rUmE6rwIhAOOMuIXoc2bP917OB5fLbuIYzB3o2CbUXlG9mynHCo/I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3237135},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"70550a9e0f8afff64c65b7ec6ae2d7d439592cda","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.3_1715700232900_0.5174791109250345","host":"s3://npm-registry-packages"}},"0.9.4":{"name":"@ayonli/jsext","version":"0.9.4","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0dd1d04f911cfe3ca13d8c89f5e292b8ff5a9436","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.4.tgz","fileCount":588,"integrity":"sha512-L9dCGMQCNEgARtw+qhD/Ni8G4mmgXxMclh7qanJtH8Ap7cRdbs7KiR9py2UgXv1iiDIXSMD97PtELyLcq8D7rw==","signatures":[{"sig":"MEQCICmWICU1IzkAmDVptSXkLw3cVWl7Uz3CCnFx/AoHUMnQAiBF8a5X8ywL0PYGRn0oRqNNLKrQyfjTtUDjQjpiSKmGcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3236930},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5ff125985b91e55cc5a836e9ee8cb4b5f8632c0f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.4_1715710395163_0.9965188224170487","host":"s3://npm-registry-packages"}},"0.9.5":{"name":"@ayonli/jsext","version":"0.9.5","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"e8896e811cc4f8f9797d004b1761850396f650f6","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.5.tgz","fileCount":588,"integrity":"sha512-ZNkduVFsMWVdP3X0Mp4z2AXO7pRBXQFr+jZ1bQu9bqUHKJaKAiI6tVOAR9eERtXomlrTrBqtvFxrVWMeVrdLUw==","signatures":[{"sig":"MEQCIFkepFzh+hwPwU9CEYkjMXoDMuzj17d4M5+OYtFkjK/4AiAjvJVTNTfXmdxUDvOOSsgsD5JzHzomw9tCWfQdr4oNoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3271307},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"49835d35363a1dfbef211b09f54aca70e589d07a","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.5_1715751230219_0.843339209840545","host":"s3://npm-registry-packages"}},"0.9.6":{"name":"@ayonli/jsext","version":"0.9.6","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"85ecb2fc68b39c91849b4adc9912608d8ef49d44","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.6.tgz","fileCount":588,"integrity":"sha512-Zun4JL1kvIB2J2V2AbSxjfNVa0YxfHo/LNBYwn6B/qEre/PStKqKOktFQ0bE0T2EwOsjy8L+hFqxIbSkAIqgdw==","signatures":[{"sig":"MEYCIQDGVCap4636wczazEsGhHLnzv/jABm1E/vRCW6N+1BHgAIhAPxhL4Gu/8DifMy+Q8gSYEfmDS0R9QIMaWAgyWflDhvG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3290877},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"f7c8a9acde9b524b813bf15f909dce2a1e7b6583","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.6_1715793302346_0.19741379809497328","host":"s3://npm-registry-packages"}},"0.9.7":{"name":"@ayonli/jsext","version":"0.9.7","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ba4af2af94a3812a7be1171e82325d37e11663d7","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.7.tgz","fileCount":588,"integrity":"sha512-wWA+VifdDC8u4B5NNygeCW/nAzniF4BeXlGbX1PgRLbDhJTXpPiZmHGGCxJZ10IMlGZmYq0hRGmyU7OtQmB5sw==","signatures":[{"sig":"MEYCIQCvUrOD/+ZMW3s1Em4n3uJjNuR6HSrYUHp71e1SzRIv/wIhAOJ3/odL+KhXLUYbQashUh8Fx2NC6kACgOe11Aq6bnb2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3280234},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"b96f80bda838ddf6ba8877f06c9be550f4f54188","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.7_1715882733178_0.7729386457748726","host":"s3://npm-registry-packages"}},"0.9.8":{"name":"@ayonli/jsext","version":"0.9.8","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.8","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"4cdf79c454f7fde6d5e6b84e735363c06d74ad27","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.8.tgz","fileCount":594,"integrity":"sha512-EcCor4q6Gr1Pllq+nT6rLFvEh7Sq4l06rZUfPTb5k6ssLifJ1uJecZO/gcTbpCKWo60cset6T5EjLvO2FF6OIQ==","signatures":[{"sig":"MEUCID7C80QB9hVA/eVfkxYRZ9D5l3SoyzAK/FPHCnaSkgclAiEAwK6lQFk4ndLO1xeAJLrZe0Ga7X+2Jj3TJKNEZmdIcsU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3309859},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"1a42d54bc0ad793823d5f635ab69b48041aa66c4","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.8_1715998468918_0.6107335693730362","host":"s3://npm-registry-packages"}},"0.9.10":{"name":"@ayonli/jsext","version":"0.9.10","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.10","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"3fc238d0a1a0a3725f636945f4a4603929bf6353","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.10.tgz","fileCount":622,"integrity":"sha512-wehxnfV1XiL756+gaj/ue+3jd0+o2a+5b8VqK7iKMs9IMIgA34qDzB4A94bIOspwv/ro3Syqdp1tSzLUv9/dnw==","signatures":[{"sig":"MEMCIAuoMvwFOTQStlmA3xUXMTTUivOSp9BXELoeHo0sXFjQAh9wplqoTfd2xJPN3k6dERtvalW9dbBETu+zZsBvp+vC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3501241},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"739d5ed6744a1bc2465229184bbe3d46ad027cd0","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.10_1716223197169_0.3064157844853794","host":"s3://npm-registry-packages"}},"0.9.11":{"name":"@ayonli/jsext","version":"0.9.11","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.11","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"b8b0d7cd3f73f19e48c4feee6172e8828ca435af","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.11.tgz","fileCount":628,"integrity":"sha512-XYGxho4AM7OBazSmPWZDaoPYySoUIgB+QMYzCKk7ncB7l7rwzM1NjM4b4JOmJ6ub4Wo2ODDv7YWJWoC54rtiUQ==","signatures":[{"sig":"MEYCIQDncbnMCIx7ZE2p6CPOfLazgDLIauBGSfWhxwd/thaqmgIhAObQW8QE/dvoyE2FxSYoM86GVJs2kj3oUg3R6eSVQ7qK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3529279},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"601ce7bb4917cc8f25bc9231e7146371656bf64f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.11_1716391989882_0.9395885815918206","host":"s3://npm-registry-packages"}},"0.9.12":{"name":"@ayonli/jsext","version":"0.9.12","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.12","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"85cd741649f9eec616497aafe76d3e18460afd03","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.12.tgz","fileCount":628,"integrity":"sha512-jOmXVx882ehANJusd7jWZi31l+vGLNrIiNkcNOxQ5Y5tsE5BYYlzctfrSAnawCiPDtCHB90sKE7cX/JDE5oErA==","signatures":[{"sig":"MEUCIQCO/Diboel8+BJBz3XNP1bWeOq1VAPMsqUUETv/jxugpAIgFIcx6Iu0m7Xdzg8ADuSS0iB7PWziJAaMN/aKKOkyKxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3549017},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5e0728173f11ef66a56c1e0dba735c230fb7603d","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.12_1716483415628_0.23841305741765995","host":"s3://npm-registry-packages"}},"0.9.13":{"name":"@ayonli/jsext","version":"0.9.13","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.13","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"16a813fce6c5be70d5b917476499c92dc65074db","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.13.tgz","fileCount":628,"integrity":"sha512-VFYrP/DupN5mccUYb+rAkoAmPyMPEbuatPnD6RRSd+PRDjonSgmcYvEFQt0B3e3KtHyZCS87Hf+xVzx6CRVBqQ==","signatures":[{"sig":"MEUCIGSbd1nZ6rH2jqGAfXmTTGAzOfzK7rxyLjleL5vcn29kAiEA+vgBhtY+wEXpI2lIK1CZ5/66jIZ9kTjDUZUGdyneI9M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3567600},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"a2d3dd5ba965dc595ee4814115232c73ee2b4d1b","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.13_1716815403618_0.6091417101223384","host":"s3://npm-registry-packages"}},"0.9.14":{"name":"@ayonli/jsext","version":"0.9.14","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.14","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"9244c2124d520e68b33265fcd6692f300303e128","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.14.tgz","fileCount":644,"integrity":"sha512-dYlvSetRlyOiAhv4VoBZXIOtCHC0ka0d3j9LB67BOWZHh+jKnw0b/CAzVZodI/g9/7G/hvdRezV6+s/6kY2p9Q==","signatures":[{"sig":"MEYCIQC17EhBRMq1bJ3YiiaMvzrxVnTKjMCcvP0tWwn8GMlqFwIhAPqVW0TZ01kWtYmtePIVHfq07TRFsYFsBmrjCzqn4aFG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3638583},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5c529de59ee39604dc39a110774a3fdb71fcfeb4","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.14_1716877009718_0.27324476125334707","host":"s3://npm-registry-packages"}},"0.9.15":{"name":"@ayonli/jsext","version":"0.9.15","keywords":["wrap","mixin","try","defer","throttle","queue","channel","worker","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","sequence","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","sum","avg","product","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","which","BiMap","CiMap"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.15","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a0a7d968921d72589e90762887b5c5713e1b5d57","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.15.tgz","fileCount":644,"integrity":"sha512-yZH44dFr0vFV9+T5GSCRt/CE9DoVTmfufssmw8+Rqujp6QzTB8otHCiw32T0oEYdsG/g7JDiqJ7kjWIQ1nP9TA==","signatures":[{"sig":"MEYCIQCWkL92mr3d08PohKJko3uYgPdvN5kEvsYGM+reopIV9wIhAM+xM17wmUNfjv+eBoW6CZ8gK5MjttJTkC5bEQp5I9RS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3644124},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"3e2e21336bd3a0bd8134d6253932a2b98e41a63f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"Additional functions for JavaScript to build strong applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.15_1716909675322_0.5415341345680529","host":"s3://npm-registry-packages"}},"0.9.16":{"name":"@ayonli/jsext","version":"0.9.16","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.16","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"3cfc873f9052b9da809cb99764dcb1374ae6c2ea","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.16.tgz","fileCount":644,"integrity":"sha512-3gvZ7w0LkGWEKhUw/dQo1XX1wWonsrOZqA+maBD1vX1dTE8RDfCuGG4u9tRTNmqtzzu6uqsuEw498Ml9p7JtsQ==","signatures":[{"sig":"MEUCIASj2jlnjwqJpuMdYLUXgtNGPSK7ZN9BbDwaVzixuvOBAiEAvDzH5DEUZCbSN94WM7wQoQEJqZ0DZu1MFw5xdNnoG8Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3645784},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"ac016944eeaf38e33b40f169b151fdfb79374fe0","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.16_1716998883244_0.5645441259334818","host":"s3://npm-registry-packages"}},"0.9.17":{"name":"@ayonli/jsext","version":"0.9.17","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.17","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"df7133882df5da0947ec93008251093c36e81dae","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.17.tgz","fileCount":650,"integrity":"sha512-no9Xr81cljdeeOGuGKERI0iINEnDqWuMSFEtl5LJuDzYKekTYsijuIMQAxA7SvL/UKS8We6v9BnwbWDO5LXocQ==","signatures":[{"sig":"MEQCIH3zrUY9w51JbGD1eKGraO5HfRs99mlQHxHK1Wrf0IB4AiAxnBvRbHIjoxtDM3zv0Sl8ysvQabR63sFx8cWTl8dRmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3959801},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"20c2778284618708cce6f88339e4098b74d610c9","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.17_1717304822836_0.8930549705019968","host":"s3://npm-registry-packages"}},"0.9.18":{"name":"@ayonli/jsext","version":"0.9.18","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.18","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"fadf2d1c1665f64ec59ae6a7e068dd19711357d2","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.18.tgz","fileCount":656,"integrity":"sha512-NJX/Y7Uk3J3GauJJs8EJ6dnzs1E4+SRQkAgN+ChGrxOnqHTnFpIUJILFafryZF763P9p+JWuaDq05bA7sN0nKg==","signatures":[{"sig":"MEUCIQDc1l1acmKkroREGiTKWWEFxTlmAa+UZ8s6iCRKnGNYAQIgfg25n+IfTn607PxnI53sUdab7UJ1Bsz3u9va811re6g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4082363},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"08b9780210c9fa48becbe6570cc5c1ac756369a4","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.18_1717556222905_0.8532527664370493","host":"s3://npm-registry-packages"}},"0.9.19":{"name":"@ayonli/jsext","version":"0.9.19","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.19","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0c386d827dee705d1d8b38613adce6110480f891","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.19.tgz","fileCount":656,"integrity":"sha512-fUQucsknd0/kInYazhugAOOHB24fggbMa9dk8Md2ZIIapXF0NqGYfytn3pjgjyKkPYSbZqih0ew0xyhJAxB+Rw==","signatures":[{"sig":"MEQCIGliKyCqtRaSWYNdc+M8jCfOi6TU5RqYezb5W/AkOsz0AiAhTLvJTiUjDEhfW/ErBPBBxpQSGXwcbQ3eRc6kSf0nDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4082363},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"122fb465689c29457df831092b0ef4d03ce66bff","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.19_1717557350329_0.7953442077951132","host":"s3://npm-registry-packages"}},"0.9.20":{"name":"@ayonli/jsext","version":"0.9.20","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.20","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5aba3e4201d8113e9e8ebb941413e702d6407cff","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.20.tgz","fileCount":662,"integrity":"sha512-2U/xsv/ETXq0I/FWlUrG8vXwn1jEmHltsxFGGFqnmrKl6XRYJkxhgbNT2GYgkHLlLxMUGJ+Wz0tle0qFRjuLgg==","signatures":[{"sig":"MEQCIFzayDbPM0gba3tQzYrNJR6FHR9vV8QlAcOuyao07qYEAiAJhDyfFrlddxf2FhL61OklL9XyW/zCSaspfsaE9ffC0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4093711},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"035f672627d1258498126ae5b6c91316da142402","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.14.1","tsx":"^4.7.1","glob":"^10.3.10","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.5","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.20_1717565055320_0.7350666367014902","host":"s3://npm-registry-packages"}},"0.9.30":{"name":"@ayonli/jsext","version":"0.9.30","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.30","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"bf0a8db5e07649f2885490f4c5c65f8505078632","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.30.tgz","fileCount":690,"integrity":"sha512-nNhitKvT2X6N+5HSqisqP+1sfXlh9TXP/t5Xt0JBsoggya8/rP4dWIdeXbtmxpO+vebScD2G+QeZwdbYhReotA==","signatures":[{"sig":"MEQCIGgJhW/pYukCP4R9uMSCrVRXzTIeqH+2k/Q6Oqj6cegHAiAKNxykVOtWfIX4AMYbewI2/Jl9YJ6S7n0vCZ+2Qp6wSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4465482},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"cbfedaab93fc21b62e254141173a2baa2489b27a","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.17.0","tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.30_1718029265031_0.9728451372160183","host":"s3://npm-registry-packages"}},"0.9.31":{"name":"@ayonli/jsext","version":"0.9.31","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.31","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5051afb5606eb455288c9f1c604a52ae40da47ac","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.31.tgz","fileCount":692,"integrity":"sha512-tcSX8noWdnep1KNW1f3hdJabYZS1rnTHcXe8Izmrbsy/3OgeHVlGp4S/x18q8DsgDNEqH/SKe77akqw9LQ204g==","signatures":[{"sig":"MEUCIQCkABUn96U4Tv4+DDP9jQkasoZIcdET42EXLJRLSubmtAIgA6+W5H0K/SExHKG+VzN1lpx0SaUih5lARpnaBXPfMT8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4469036},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"f4a00816310cc1751d8230ca92969a3267713c97","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.1","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"22.0.0","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.31_1718030986702_0.3929459857894724","host":"s3://npm-registry-packages"}},"0.9.32":{"name":"@ayonli/jsext","version":"0.9.32","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.32","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ef5b6741a3af259a43d07562e02b5c48518c824f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.32.tgz","fileCount":696,"integrity":"sha512-8BgKHxQpSZkiUjjGYVoC4GixdiynDV97ZyMqAm/ewjLKKRJVBhHruBNBdIL1+pr2qj6HoT9SEUE+rIkQibNhMQ==","signatures":[{"sig":"MEUCIGXYLwUVT9PCeOZdk6SDqVca8TNzjn1YXI4KYxxp15xbAiEA/rgZXfC2wGx0U1/N9MuqyWVNTFoD8+oC/p6+X1CGOzQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4563626},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"61dea3bc8e84d5bc34b16905e5a01a0b3682d3e0","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.32_1718447433105_0.6666577290622513","host":"s3://npm-registry-packages"}},"0.9.33":{"name":"@ayonli/jsext","version":"0.9.33","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.33","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"c1193474b2963a5a32f0fbd498aeebcb9dc99001","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.33.tgz","fileCount":696,"integrity":"sha512-0T1O1YaPvIHscOSmmKGBTKPcyhkB9cMwX9FkT2+U+tt9ZEVD69UVezHI0SFi38mpTlzeAs4Q+dlRa6rvDhxe7Q==","signatures":[{"sig":"MEUCIEL1MKwjRxoSHW77IxDOX4X+RoeVAFUEtCX/kHvGqLNsAiEAm13wIiLeuif2Wv+Uc+KN/r5jEO5MI3qYic7shVjBQic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4563869},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"6ae08a951b3264526cd0cde2212e3be51de00b56","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.33_1718448200466_0.17481327889610632","host":"s3://npm-registry-packages"}},"0.9.34":{"name":"@ayonli/jsext","version":"0.9.34","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.34","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"61e94d23614770329ea1c9610412eafde6a0d7e2","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.34.tgz","fileCount":696,"integrity":"sha512-RZvr9vl/+RPo/MoHlsI77Q+BbweSXZoPN/re5C6gJPipp6HKhgWjFQ0U/6bm12d2upM09GWLdaSgBrnmVoEsNQ==","signatures":[{"sig":"MEQCIDL96diAyLFs3yN3eMIBU07+CB4j1vwKTAtn3lTLWzENAiA1FmiUfHNNyJ2rZxsUa/BeVDk2fWo3OxNalXoW8Bgruw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4575830},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"b8d5e3a8d62853555ba7e658bc61bc1e449bd64f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.34_1718475808169_0.10479618287769732","host":"s3://npm-registry-packages"}},"0.9.35":{"name":"@ayonli/jsext","version":"0.9.35","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.35","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a69b08d4b9220547fe0ab0d28feadc975b64aa1e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.35.tgz","fileCount":696,"integrity":"sha512-qb6BrHTg/NregPEvGODKBBb0TyehXn5kTLv8YyPMkOqst0OeBLB6n0S02TVRw02fB5x5frHct3L323l0tc4PqQ==","signatures":[{"sig":"MEUCIFk0JcN06MtQK9rJpXNjFBABR1WVzxMk1CLdtNmTDIwHAiEAn3gw13DLbTwbcHImrUxfUY/oqyCaNPexmwlnw6gRY+w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4606268},"engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"d93589d68c6cbd61d21a0a9df389521f04cdb964","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","postpublish":"node postpublish.mjs","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build && node prepublish.mjs"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.35_1718715198541_0.08030778079922407","host":"s3://npm-registry-packages"}},"0.9.40":{"name":"@ayonli/jsext","version":"0.9.40","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.40","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"6aca382df865690a4e0352b2b24cec8e8024712b","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.40.tgz","fileCount":718,"integrity":"sha512-0OztvgiRT65IB20+tVQLPwxcZR6grwPemvr+5PpxCkDoc4G78SM6mtE4xKQB7ms+oVtXy9eVtTdvE/KYkSgRpg==","signatures":[{"sig":"MEUCIHRsDcihHm4wB1vHsVYAh+Lx4fPO8mUd9/0Z790CCpPMAiEA1tuS98zCj3nRn0GtIRaQWsScsSd8Y35JNtYmtF3Ug0w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4816452},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"996fff88b53f6a5126ebe3949c4685176202189b","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.40_1720349149546_0.9046332855707535","host":"s3://npm-registry-packages"}},"0.9.41":{"name":"@ayonli/jsext","version":"0.9.41","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.41","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ba6de1a8fe5c3eb8778d578f5abf9a2fe13f5ee4","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.41.tgz","fileCount":718,"integrity":"sha512-g7ImKjeuruPoPyKyn40AlreZ7bR4eO8mjPfSI09FgO7Ln9vQ3MH39Ds6lygUufVjQbMO+0/wxgpcfySmRH4Wpw==","signatures":[{"sig":"MEUCIAmcmsewwjTrolpWx8qzn5mgsNDwxJmjoGoC3rGZWoizAiEAqOFpst9StbGqvlBoyKe1cFOJdYN5VGSeWlOLI1Ppzxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4814104},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5dea0c4441ad20ffd0c305de3a3cf727d1ae84da","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ps-list":"^8.1.1","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@ayonli/sse":"^0.4.0","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.41_1720368700748_0.46228304899573236","host":"s3://npm-registry-packages"}},"0.9.42":{"name":"@ayonli/jsext","version":"0.9.42","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.42","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"93cd538a14eed9cb33ae0282e3f7459d3e61a1b5","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.42.tgz","fileCount":718,"integrity":"sha512-tbAGz4xU7l+wMptA7rFosaHz34Bf7m0+pZnOtnWGESqGhFJBFPRGJ2KPFYtkOA14hvmPkKO2YA7UzAiTpjP2zA==","signatures":[{"sig":"MEUCIDeu4d2ILxi8XxLm4eWUj7B3m6ZEkmF2UqCHbEkkwoAlAiEAm0s/07gnIzi2IaMtu2Q9VST2IFDVPo0+Gswl7AhBFmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4817536},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"095cde74c844570c1621bd1a20444d08fb2a9ef6","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno && npm run test:pty:bun","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.42_1720444060282_0.3453078680385695","host":"s3://npm-registry-packages"}},"0.9.50":{"name":"@ayonli/jsext","version":"0.9.50","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.50","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"3547d1e2c8e787d6b8bbee449d76554d4f1f367e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.50.tgz","fileCount":729,"integrity":"sha512-/KnIPJo2dobchIxiOn1dwrBo4P/TVM0DHeH4UQ9nXuXbYjtHbFtjriiqbH6pPy1HBv6WeuQ2Qs4WwBsdLL1erQ==","signatures":[{"sig":"MEYCIQDTR28B6dKx4+UlSZzJoX8dCKtrm+95IfJ644UNgCpOLgIhAMFwnrgXy9dfQnHK1xrbe4MAcHaDcxT+B9kWAXjZlPsb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4959873},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"70a6167a1c478e5be6b8830ec530b3a6cad8770a","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","eventsource":"1.1","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@types/eventsource":"^1.1.11","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.50_1720964488685_0.22749896933877967","host":"s3://npm-registry-packages"}},"0.9.51":{"name":"@ayonli/jsext","version":"0.9.51","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.51","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"4facf0ebb558376727ac9c54ea50bd3901299d06","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.51.tgz","fileCount":729,"integrity":"sha512-SuWwR2/eGbg8gI951GBV0+HgTPY/ummoSXEpOCN/1xmC8K7Tf3HRw2nGmQO85vmYCIdLEphg1du4mpcmWlbDUA==","signatures":[{"sig":"MEUCIQDjhuLal4p+65yNbsHkUNVTfuwe3+An0xd1kaRxaNS2qgIgOJbqNiyWEVoU7Kojrumi61USG8eL4gRYzmeM+Hy92KE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5031428},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"44a7077256fe14e83f93363af540c924b0dd6d47","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.51_1721061204695_0.4586966282671132","host":"s3://npm-registry-packages"}},"0.9.52":{"name":"@ayonli/jsext","version":"0.9.52","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.52","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"14b02ad6b5347c789931cbf708d5eff08ab84101","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.52.tgz","fileCount":729,"integrity":"sha512-0q0JUeEx7KK8Oe9X/d1poIFrqFT5VvbmzxR6c6mA4L+JODNv+Rw63/c6DRSIs2rStPSnsx1N+1DoiG5rgtHugQ==","signatures":[{"sig":"MEQCIHxBZQnrXAtyqajgR/2fsfhaCS9+/vqKbn3o2sdQOhmLAiB2wo9OEMUmQyGZR304CR9O5qMcgIoO16ZRRPY9ZZheIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5031428},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"47c387acf2c3f619d5d99a8ef01a9b1223b5821d","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.52_1721065099489_0.578995308357247","host":"s3://npm-registry-packages"}},"0.9.53":{"name":"@ayonli/jsext","version":"0.9.53","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.53","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f15e33980e73c2f53ac577c1a323ee4dd14efcb6","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.53.tgz","fileCount":729,"integrity":"sha512-mtxxsFRJBVM0nBWiSGerz8kKU7KSctXwQm6+Atm9YFvWwonp211EqTkP6zcQPkiAm/oCElmEblM85i7rVEpafw==","signatures":[{"sig":"MEUCIBuhrUSwuOFqWK/2c9bJQeS3LqtfuVZdxV+nuwseCR0qAiEAyg2piHwbABDO3GcO8WLPl6qeIln+4ZdCy76dS9mdPmM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5033333},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"f388c2f9077959ba6b1a70f611e224b8bd2648e5","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.53_1721143747390_0.9025172182030952","host":"s3://npm-registry-packages"}},"0.9.54":{"name":"@ayonli/jsext","version":"0.9.54","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.54","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"55ab494d692831cf127e9c3745c4da733e68a6ea","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.54.tgz","fileCount":729,"integrity":"sha512-jR543XXLymwAebR2GjvBHCfo9YxvLorjRrqtGeWsLvgVwNCqDP+j6lv9gDqJ3zk86aLcRSVH6dIOxdqias7dPA==","signatures":[{"sig":"MEUCIAGqohNv9ZEnXqm2iucCJTpkTnFlkTgPdRCzJRPjt1pgAiEA5WPTe3U3jQxwH7j7YsJ0EnGGqPHBmL5Gu/VeQkCVQnc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5037046},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"c31e90e11bf4304dccb8749f68d7cae2d16ebe6d","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.54_1722447564736_0.9979900845528342","host":"s3://npm-registry-packages"}},"0.9.55":{"name":"@ayonli/jsext","version":"0.9.55","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.55","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"e799c6536a484c6716dc0c0857eea9e6cfac06a8","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.55.tgz","fileCount":730,"integrity":"sha512-78vZUCvfGrQ6AXg2JGrD1hnuHE2lo3t+gZ7X3moE1nrC2O0k5N/Gly0xN7FfMzyMAqNRUpNGLs8TAjo8LmpQfg==","signatures":[{"sig":"MEUCIQDl6/bjTwFuuImgjDuDacaFPSV/daICqQ7+cIlVtabOLAIgdfT4T+46Fe7NK/OI1NrhqtnBXnhX35zZSoR7kCLRCGM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5037544},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"2510335d068607cc1144e95ea5ca273d863f513f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"optionalDependencies":{"jsdom":"^24.0.0","node-pty":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.55_1722757707044_0.5638743677706444","host":"s3://npm-registry-packages"}},"0.9.56":{"name":"@ayonli/jsext","version":"0.9.56","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.56","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"32d8398fdde7ea487ad544ab4addfac4d000b87d","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.56.tgz","fileCount":730,"integrity":"sha512-DKCgKnoqRs09Pd+jOmPIftZKpyrtzYiXxoVNQZMxPy4nGnruCoGECrpQ2Msj94APSmhjG4cQZj0dBaeHGfPOXw==","signatures":[{"sig":"MEQCIEEruvU9mDzvLvkcw0c6Ckwi0giVsIFuG7HuisMiqH4hAiAdYXWBiQSw40PJ9ltnaZk2Dbki8dKm+K5tzOy9JamCHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5037450},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"17351e5a633a2c006ef67b6aae15d71d06d743ba","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.56_1722789851277_0.4178961455946524","host":"s3://npm-registry-packages"}},"0.9.57":{"name":"@ayonli/jsext","version":"0.9.57","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.57","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"704884721ea8c54083ce17953319d63e3d5a4659","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.57.tgz","fileCount":730,"integrity":"sha512-8DZ5qy0HNfe9yjhpLZ0lOxnHvCosnASv9kcQugYh6KQx2Y3jmgoxRxSwnfPFBNM54XYIRJwjlnNjCVxz6aPczQ==","signatures":[{"sig":"MEYCIQDWLJiVnWfZGeaw7dz3W3woxmevgNLlNjyfB5CTCyDRrQIhAMMAclel3aJbIjcEArrQeuQe5JpmRSUD6HQkkKZ2LRmM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5046217},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"d3692e8f8dc5b7f3f8c4cde224b5b450b248344b","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.57_1723384995536_0.8989586291743836","host":"s3://npm-registry-packages"}},"0.9.58":{"name":"@ayonli/jsext","version":"0.9.58","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.58","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"04e67bc90f2b8d519fd8ab35ee07912c2d5607f8","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.58.tgz","fileCount":730,"integrity":"sha512-AwGf64K6VqGyYLFA6rgyuU6jBbwUNJctENpW1bZayvXcIprhdfs7cn7S+EXi0pnNLupT9ptODYkKneB3/YuWww==","signatures":[{"sig":"MEUCIAm56UhNMTXdgy2UCepkec8Rnz6ySBQ/u6KNt9lRrfZuAiEA7DuqScXYbQmWd//2kjJytuVOY7Tb5e5cAwWkGLDUnbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5068204},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"fcc643f631ec2f426e5e667f574f85d46d98a743","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.58_1723481355231_0.8014273796978977","host":"s3://npm-registry-packages"}},"0.9.60":{"name":"@ayonli/jsext","version":"0.9.60","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.60","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"319069490b881c94941c0db007779d7a2a9893c9","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.60.tgz","fileCount":736,"integrity":"sha512-hfh5AT0uClegxkjYRPX2/4mQ98UWpuBLDB2BeUQa4DWw4pk+3v2bqTytxUREVczGnjQ1umdno1xt3/l+b/w0oA==","signatures":[{"sig":"MEYCIQDP2G3/hFJDlOZ7W4PEveo629hhGQyyetaLMY83mkyVJQIhALAFcuqLiKVL5mfFOye1bvkUtBmyLBRH7yMyXyVnYK/G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5240749},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"2d6078afe77c06f4b458d633405a8084889b5ac3","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.60_1723986164898_0.2331275901467016","host":"s3://npm-registry-packages"}},"0.9.61":{"name":"@ayonli/jsext","version":"0.9.61","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.61","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"8d92d332acfa358304cce0cd888f7ed528d7fa86","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.61.tgz","fileCount":736,"integrity":"sha512-rRP0IypARxLfuCD4z53xDvsSyKi2C9WZsVdqcPwiVG4xFOtzX3kcJN1Uw7HjgMmBTQu3ag9jGT43Ycb7cgHaBA==","signatures":[{"sig":"MEQCIAivCCJOfDWYjm80zElKOGHUkJHplIDDlLex3t8gwCv9AiAjpR5UezIW6912CPLmxjWvRhFNHRPymzhIa3tAFdxrsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5284163},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"9d5d145a5a9366c736848e9ff15211b2d432334f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.61_1724170746922_0.7438733227656458","host":"s3://npm-registry-packages"}},"0.9.62":{"name":"@ayonli/jsext","version":"0.9.62","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.62","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f812aeea9a7adc1f2866c0dcf015072018270cd8","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.62.tgz","fileCount":736,"integrity":"sha512-e0/AgvedY6itR+fkFM9o+XkDkdwZYUDxKno1dlUKxCM7eu3tXN2AV9MrIGyoVB4zvJmSzuFpTcpcy4I1a+YVZw==","signatures":[{"sig":"MEQCIEr3I9OS1BCe8DC0jncnCNn2FCTwCkp0pSeKNUQudnHlAiBBUEAMxDSKImFaSuMD8przLktzOvhnU04pn8DTly3AaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5272475},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"5add7502daff9ac426ca004c9e4e6ac2d8f181a7","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.62_1724477280346_0.41767265980412493","host":"s3://npm-registry-packages"}},"0.9.63":{"name":"@ayonli/jsext","version":"0.9.63","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.63","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"08093043b730dfed2889704f201420b944d9b0ee","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.63.tgz","fileCount":736,"integrity":"sha512-WjvinW/rM9KEauFCgiRU1VM6Vn4zvv0bPy6DcvjHLNKl1F9cLMW0axsqGqcpQdEr9X9A5V4lWV2cNiXTDUZXhQ==","signatures":[{"sig":"MEYCIQCgo5x96yun91WAFNl7l9GRSlP3wunCBINsjfA4s7g2pQIhAJCjarMYfBJYfTtBINdRnQpY9ET5iSTtg5qDuNQpbr+f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5281216},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"783795fa6d24eeb6615491c9fe6a62819b4fe1f4","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.63_1724585724119_0.0004970586116488374","host":"s3://npm-registry-packages"}},"0.9.64":{"name":"@ayonli/jsext","version":"0.9.64","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.64","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"931a1fb60d54a79145d1fee6d42543e45f107251","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.64.tgz","fileCount":736,"integrity":"sha512-NeQyICH+ki1YG9rM7B74NbbEXPJXMaWNG8ok8Gb9YctyiQfqw8LM8zlMu04PJWxgzbqdLuQ5uHbh1t+43bIQLg==","signatures":[{"sig":"MEQCIFDoQuoB8TZDgi01/6ETIT6fbBeU3xP7iQuy1KpXwhqrAiAUc4kIIac4LhuiNgfg0hp/BWw3AzYYl+6Oenf8VZEqRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5290365},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"a597ac317809bc3a1157b0a5ea7e3fa9db043e46","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.64_1726070311013_0.8417965603279127","host":"s3://npm-registry-packages"}},"0.9.65":{"name":"@ayonli/jsext","version":"0.9.65","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.65","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"2d33d0041c74c653f3644afba92e519c15857673","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.65.tgz","fileCount":736,"integrity":"sha512-4ioAZ7+d1wkYJlUTRgAUoI3dohhCIFoy2JneMGDoRDNY3fCKIYtHRhWvHrZblxbkJj9qe5vXbGm8xXNriUps0g==","signatures":[{"sig":"MEQCIGBTDt/rFA4xY+8LzX/Bk/+ZlxsvoTHY9MplGpXFpxgDAiAjlc4m3XV92SK2mW8Tx0zmVnuVuhzMqrbSCLfwbFTwiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5294190},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"c17a1364590888401a781ebab3b530ae16cecb9e","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.65_1726117121507_0.016152652527949396","host":"s3://npm-registry-packages"}},"0.9.66":{"name":"@ayonli/jsext","version":"0.9.66","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.66","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"fa7de54c3364ef9a0063f2ba4ecdb39dc5bcd62e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.66.tgz","fileCount":736,"integrity":"sha512-PQC6YMjzEhfnyg1uSEc9hmnUPDP9lQYCU4RQA+v3YYpjl+0b/Vg2aOuv/UKm/wsw+73iUEk/sksvW+Zk9LcBXw==","signatures":[{"sig":"MEYCIQCNRBN7Uc18gXIu9E8OxTX2ELtVP65uqOi+AdL/fThl/AIhAJAyz8x56Wf5bSfbK4Jgaoq6vg78la/Md+OIfzv8CHtt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5291856},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"f2e588cccd6d1bf99bcee67a468d9a719d0feba8","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.66_1726726025271_0.12054081577640297","host":"s3://npm-registry-packages"}},"0.9.67":{"name":"@ayonli/jsext","version":"0.9.67","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.67","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"6b472543814df708b3a270649e45af00e98eb67c","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.67.tgz","fileCount":736,"integrity":"sha512-qfmT6pcTFuuW/2YIdnVTw3eikH56EODGX74XWZghasR+9WXZYmWEPblniNb4fyqPOlJ1nFFtFOtVXXDw1bGr6w==","signatures":[{"sig":"MEYCIQDyqnqVx/2BM0/zmjTXYEixk85ZsMVjzSFOaGb8ZdVNlAIhAKZk3ZRnsnGbBmvyruh/gPSlCF0FN8fKMF1zVDJDsVgc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5293537},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"c48238c9c5d275e14a02dc006e83aa6b2269b6dd","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.67_1728836050871_0.33017780927921314","host":"s3://npm-registry-packages"}},"0.9.68":{"name":"@ayonli/jsext","version":"0.9.68","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.68","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f8eade02d4d64b91624d159694e8a259b805137f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.68.tgz","fileCount":736,"integrity":"sha512-2l3hgMu3aW2CK8MY48Ohx21V/ltGkBl6KwUkF11WBIHLKTfyv50foVxnPSIVuHEE7nLBRHWJg+6MtJbNW5OrUw==","signatures":[{"sig":"MEYCIQCDcIIZk45+mTZrpkVnqmOBZvTT0GCDXd2YiUywAgckLgIhANAw0ykVm7T4sgWzQAYjeoC0MnIm14pzj+/7jLAfOZps","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5385148},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"867b439779df6f1f1e47de5db3976c32d2869700","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.68_1729296131977_0.6501570385200908","host":"s3://npm-registry-packages"}},"0.9.70":{"name":"@ayonli/jsext","version":"0.9.70","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.70","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"503e0f9ea075371805fa0e90da4ee58ec7bc6e5f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.70.tgz","fileCount":742,"integrity":"sha512-tR4G6HwK+vc6xyqZ2dVx9GFknUshetJYGMxCl03E3fJSg/TPfpjhQqO84JI5gv5o6V9iH/bxo7uE6/4EovqeGg==","signatures":[{"sig":"MEQCIHADFQglNrhoi1eBSGql1cQN/6KcH6hDWT1mwsTD3IXFAiAZ+8C9evmTOlps3kcnoKPeoGsgeaNLBIuG+Rcyi76GiQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5448222},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"01683570f09e6df244bdfe1b6a4317e5c7467b75","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.70_1730035401733_0.07134968608750336","host":"s3://npm-registry-packages"}},"0.9.71":{"name":"@ayonli/jsext","version":"0.9.71","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.71","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a0bd28b6eec2f214a90d4aec0e98483b81581106","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.71.tgz","fileCount":742,"integrity":"sha512-abKJT1X9soVNjh8fpckK54IOqOcSWKGiNBSzUhsSW8/kGa7qORJ+uOAa2uJT5T3t5Sts/jKDq4orCSAwCDz4Vw==","signatures":[{"sig":"MEQCIGWNMkwLef+NW1ygZPcuwaigCoXfYRwJybxbS/9RkYzZAiBCUd6/osEkJvRUsdZwuOYCNg/w9Zmv0Bi4QFdinYg/Jw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5448240},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"af7ab4ca234815798d22da589187a936efac9705","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.71_1730037542325_0.12612649830636458","host":"s3://npm-registry-packages"}},"0.9.72":{"name":"@ayonli/jsext","version":"0.9.72","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.72","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"550088e5ce0cac0a88db4bdcf5e410e5677adecc","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.72.tgz","fileCount":742,"integrity":"sha512-kF7xS6BFGj2UuDEVs2JNn4m66FuHHkYvloYULdSOSK0Fd2i5DsM6bOClN9nD8jXCzShWhwh2sGX1wNNOQj4vyQ==","signatures":[{"sig":"MEYCIQDAFvLUDnyBwEfYyowgIF4CaVoe7joQ2+IsgWPi3wsLMQIhAL1O7a7T12e5lyP3Y6GU1JpqyfVwT8OhbhQxPtPLtQEu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5458756},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"541a487ec456bb25f317f93a5fdb287349108a53","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.72_1730527953067_0.011376390645100987","host":"s3://npm-registry-packages"}},"0.9.80":{"name":"@ayonli/jsext","version":"0.9.80","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@0.9.80","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"cf0c1db43890dd1d74774917d0a1f626708cfa3e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-0.9.80.tgz","fileCount":742,"integrity":"sha512-5r/9QS1XXH2ObSjuyZDsxQsPRWA+PXlbq0YomzkUyj9MY7WuRWdIFt8nHZFCic6bo0bcrFrTaW6tgaDDU6e3kA==","signatures":[{"sig":"MEUCIHsIbsEka8qWmiHP4760gWtSUrv9AEtGlwWcG2k7uPmQAiEA3qbmArbKEojooi5Lz8UyBFtjv7kNof7Y3urnivG7TiY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5471715},"type":"module","engines":{"node":">=12.20"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./read":{"bun":"./read.ts","types":"./types/read.d.ts","import":"./esm/read.js","default":"./read.ts","require":"./cjs/read.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./mixins":{"bun":"./mixins.ts","types":"./types/mixins.d.ts","import":"./esm/mixins.js","default":"./mixins.ts","require":"./cjs/mixins.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./example":{"bun":"./example.ts","types":"./types/example.d.ts","fastly":"./esm/workerd/example.js","import":"./esm/example.js","default":"./example.ts","require":"./cjs/example.js","workerd":"./esm/workerd/example.js"},"./promise":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./readAll":{"bun":"./readAll.ts","types":"./types/readAll.d.ts","import":"./esm/readAll.js","default":"./readAll.ts","require":"./cjs/readAll.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./uint8array":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./json/augment":{"bun":"./augment/json.ts","types":"./types/augment/json.d.ts","import":"./esm/augment/json.js","default":"./augment/json.ts","require":"./cjs/augment/json.js"},"./math/augment":{"bun":"./augment/math.ts","types":"./types/augment/math.d.ts","import":"./esm/augment/math.js","default":"./augment/math.ts","require":"./cjs/augment/math.js"},"./array/augment":{"bun":"./augment/array.ts","types":"./types/augment/array.d.ts","import":"./esm/augment/array.js","default":"./augment/array.ts","require":"./cjs/augment/array.js"},"./error/augment":{"bun":"./augment/error.ts","types":"./types/augment/error.d.ts","import":"./esm/augment/error.js","default":"./augment/error.ts","require":"./cjs/augment/error.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./number/augment":{"bun":"./augment/number.ts","types":"./types/augment/number.d.ts","import":"./esm/augment/number.js","default":"./augment/number.ts","require":"./cjs/augment/number.js"},"./object/augment":{"bun":"./augment/object.ts","types":"./types/augment/object.d.ts","import":"./esm/augment/object.js","default":"./augment/object.ts","require":"./cjs/augment/object.js"},"./string/augment":{"bun":"./augment/string.ts","types":"./types/augment/string.d.ts","import":"./esm/augment/string.js","default":"./augment/string.ts","require":"./cjs/augment/string.js"},"./promise/augment":{"bun":"./augment/promise.ts","types":"./types/augment/promise.d.ts","import":"./esm/augment/promise.js","default":"./augment/promise.ts","require":"./cjs/augment/promise.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"},"./uint8array/augment":{"bun":"./augment/uint8array.ts","types":"./types/augment/uint8array.d.ts","import":"./esm/augment/uint8array.js","default":"./augment/uint8array.ts","require":"./cjs/augment/uint8array.js"},"./collections/augment":{"bun":"./augment/collections.ts","types":"./types/augment/collections.d.ts","import":"./esm/augment/collections.js","default":"./augment/collections.ts","require":"./cjs/augment/collections.js"}},"gitHead":"164992fe22bc6698886291bc6a869eb953a0de60","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_0.9.80_1731775194584_0.8039097780916544","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@ayonli/jsext","version":"1.0.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.0.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"e48f312e2e8b9dcd0069a29ec29ce26e0542643a","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.0.0.tgz","fileCount":734,"integrity":"sha512-53oA2Dw5lAEyh2hdzBgLmRJPIHbjHPILX6gypbRfj26QxYnab/bq0s/h0hIqUYT7vuu8azpVqgOp3KrZVLuKuA==","signatures":[{"sig":"MEUCIQDmuivutK+6uWRs6v5p3O3/HozCTLMNKMsgZFe1JY+vkwIgMKFFgtpTiBEJUfhQqpWpqo2nGe8N5H9eVYLgYvNfGlI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5426336},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"7d96c762ea64e3b04403ad67b2f6abc65638537a","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.0.0_1731868952050_0.22155625694749803","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@ayonli/jsext","version":"1.1.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.1.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d8168a2125891f9483c111fc61d45d3e9ca6884a","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.1.0.tgz","fileCount":757,"integrity":"sha512-CDdUBtnmOsGRyPbe0S5GVhy0G3Dbk5dWLkdqxee7X5jLOeegnjKAQkFYCIf2HB81jE1Ow17HB+TyvPh9cDr5vQ==","signatures":[{"sig":"MEUCIBlCpvpP52wfQyKXGOkix6OZLUQyPp+iAFUFOc3PPFKPAiEAuDCbTdX1I4DwhO6aBML3KdrNl6CipBijdcNYXbq9MQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5514190},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"01166daa6520adad6a391ae242d8049e5df093fa","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.1.0_1732346044628_0.9291422716608397","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@ayonli/jsext","version":"1.1.1","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.1.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5c90ec265331b4a4cb638691b84d8fbbfaa4b62c","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.1.1.tgz","fileCount":763,"integrity":"sha512-LRULaXGVMpCPuvnmy+Jj11cUP0EdREX8kZq4WmjSwpIThnIS+KAP3NPxOdEdG1QefsgM21vLeITfm/zOq4Dhog==","signatures":[{"sig":"MEYCIQCszKRiEG+A6gFhUCBSRrWGvbEFnVeV2eGvKgyssm1c2gIhAOgNAp2J2WDSfhhswYeFTAAi7I+gf3lO7lxcKkIgQsng","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5533589},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"274227c150b1ca2bda60a1bfb3eb3a0faf92105a","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.1.1_1732380741614_0.8587814089433625","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@ayonli/jsext","version":"1.2.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.2.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"90761acdca41464c3545aa4122cae53e4a6fa4e8","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.2.0.tgz","fileCount":783,"integrity":"sha512-9dNjX5khR7I3/WzOee5T0q7yDt6DMsYScTAfrbtiZjV8v6FCLYqbJ/IRGRCYtxC8e2pJyRE1ClXQmdmIce0ACg==","signatures":[{"sig":"MEUCIAdCdD30Igr5rHfzuPy+ivxDnm/bnj7GZWTOXjhzMrFHAiEArsYATcKuFwalRAxt9rret5qolMNPJ03P8GkB8CMIxRI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5837425},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"8d6ab4cefbc3c101d8fb8d60c25d580f7e05e901","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.2.0_1733076604144_0.43975346668906035","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@ayonli/jsext","version":"1.2.1","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.2.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d6e46a84aa25d6a9f8094a8d25ab0e192d1783ac","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.2.1.tgz","fileCount":783,"integrity":"sha512-xdJpC+SoK0mh+h5IEdHAeKcQ7+oWZJB1Zj/2O7G5snd8j5X30eelBG9dZ681eY8il/ohT6V654W/ikZGkTAJ4w==","signatures":[{"sig":"MEUCIQCIeksFnXdLfNafw7VYmp7FSeFaFSXoXMu9nIlM1zRIVQIge9ENzkNQoPGsitfgnmN38vxt2iwX/80nraVbpW6jOVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5837605},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"f8f9eb85f2cbb3211b391e97f82c8fbb3f3366a2","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.2.1_1733664903080_0.9666144777796903","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@ayonli/jsext","version":"1.2.2","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.2.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"001ee4467bd46d281fbca7fc69dfda6e1d9b794e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.2.2.tgz","fileCount":783,"integrity":"sha512-3hjPDo9YklPhyHJupjOfVHFZX6EDhK5S9VVTeQZE+yrmlcEYmvhyNkblE/tqp1pqGg5il6wcDAGm3fhDip5tHg==","signatures":[{"sig":"MEUCIQD6UinSrWS86MDncAX8PmTIXwzKwsYRaxbLpKZbGlzQBgIgEkTSguvsoI2N6Su5qV+qw3GgS8oJLSBrqNSigbO1HXg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5837463},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"2b7cf38797cb0ead58465f45960ee5345088fc86","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.2.2_1734237819022_0.7209824134487826","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@ayonli/jsext","version":"1.2.3","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.2.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"8b079bee59e1c51f230e22994d3051bf7bbd0d46","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.2.3.tgz","fileCount":783,"integrity":"sha512-OG/izgz5hZ6zt/5m7TvYpyeuR+sMgku5EqkbkktD9o8SkWVmwMKAHocgynmzjd0SYJSnHitf5MVGGXfUM5R3Hw==","signatures":[{"sig":"MEUCIQCAKHpFOo+U9YtWQEXQ7XFeouPfnP6uc+7E8Ff2qfuY2gIgNZlJhjQq/SuF7LVz8h6FyhlaIijbKIjuOeyh3OaAZJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5838164},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"2a20e61871d217905a55df59e2510df5958f6df4","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.2.3_1734251490229_0.7553779226496582","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@ayonli/jsext","version":"1.2.4","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.2.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"f7598b442dabb6d514551348061d08af3069c151","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.2.4.tgz","fileCount":783,"integrity":"sha512-W3bdezYC0LAVqKODJ84X0k3gYiGX+WYVcqP9MlBJH/Z74kbET4rIhbrf6qpiN4AZB4F4V5Yebxo1mkzw7tYzOg==","signatures":[{"sig":"MEUCIQD6/S/XTv7HAyB6KqPwI3mbQbiDv/eLkTVQeBkwLKYD2gIgOHCKwV34XiXkHEu82nCmfUowAV4RBj6neoFHYaO6ofs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5838431},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"23830bac743699b522b116bacf5ee8c1bbcc13b5","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.2.4_1734882519434_0.5887045809607996","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@ayonli/jsext","version":"1.3.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.3.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"07f10f004f1bf0b8f9fb2d33d30c254533b42d28","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.3.0.tgz","fileCount":801,"integrity":"sha512-s8xPUGAqGDuFZnEJRUR+Dtov2QDBng99f+JOBl1BJpQ5mqe7P97FJo8oNdfZniVMc2ikwC+uadrdPbMd8jZj+A==","signatures":[{"sig":"MEUCIQCXQTSEnQrBlhOiDsBG5zgjlSl8si/p9NQrYE7Ab4TvMwIgBza8SlCMzGuSPehjJ1PwArPzbVUnxswoa6Dh7FbOJ80=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5897906},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","deno":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","deno":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","deno":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","deno":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","deno":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","deno":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","deno":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","deno":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","deno":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","deno":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","deno":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","deno":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","deno":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","deno":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","deno":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","deno":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","deno":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","deno":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","deno":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","deno":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","deno":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","deno":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","deno":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","deno":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","deno":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","deno":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","deno":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","deno":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","deno":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","deno":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","deno":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","deno":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","deno":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","deno":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","deno":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","deno":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","deno":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","deno":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","deno":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","deno":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","deno":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","deno":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","deno":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","deno":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","deno":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","deno":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","deno":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","deno":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","deno":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","deno":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","deno":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","deno":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"62e6268d11057353a71d50dcf7bc04b74cc0097d","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.3.0_1734886715620_0.6287642792737806","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@ayonli/jsext","version":"1.3.1","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.3.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"5809f8ce53a1065d5c91f1a09161982362fe45b7","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.3.1.tgz","fileCount":801,"integrity":"sha512-nS0F7YnFAnobmzx+MzT55PuWSSbR/eaxp0IUgvkW18mi7B0usuy+z2BLZ0r/yxR+MxF9xx0CbYoyvNtPSl4aRQ==","signatures":[{"sig":"MEYCIQDPVmvHv5Pm2f/ihpkqiFRzbk04NWQiE66EAJIl7dVacQIhAOjAs0eH+Nkt+ZoQoG3sxUP5Qt3m2TSwPg1aYcNUlp2+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5898518},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","deno":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","deno":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","deno":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","deno":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","deno":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","deno":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","deno":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","deno":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","deno":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","deno":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","deno":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","deno":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","deno":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","deno":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","deno":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","deno":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","deno":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","deno":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","deno":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","deno":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","deno":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","deno":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","deno":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","deno":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","deno":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","deno":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","deno":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","deno":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","deno":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","deno":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","deno":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","deno":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./string":{"bun":"./string.ts","deno":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","deno":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","deno":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","deno":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","deno":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","deno":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","deno":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","deno":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","deno":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","deno":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","deno":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","deno":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","deno":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","deno":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","deno":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","deno":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","deno":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","deno":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","deno":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","deno":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"e8b4d50314236fb2a5aa8c274dc0aa8d494f5500","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.3.1_1735453581027_0.25827910808236365","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@ayonli/jsext","version":"1.4.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"4eab131be536b06d67ea691093e56a95fb1d3aaf","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.0.tgz","fileCount":807,"integrity":"sha512-B5SoT18lmDv5eS8wrwAH3ynmwFc+tnYUQx/HGmSyJuook93bHHeQPqvF1vua3gFdGEjyS3bbeEiM2RXtQ6vgIA==","signatures":[{"sig":"MEYCIQClczZTq1OFkAx9sDEibfmP0Y71XBq7WyQ8700FSUEkbwIhALJF/tDU5XPgBD8t3sGQYQnhTmtHyuK1gx0/FpJRVl2G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5925751},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","deno":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","deno":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","deno":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","deno":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","deno":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","deno":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","deno":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","deno":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","deno":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","deno":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","deno":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","deno":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","deno":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","deno":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","deno":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","deno":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","deno":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","deno":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","deno":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","deno":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","deno":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","deno":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","deno":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","deno":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","deno":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","deno":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","deno":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","deno":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","deno":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","deno":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","deno":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","deno":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","deno":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","deno":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","deno":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","deno":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","deno":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","deno":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","deno":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","deno":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","deno":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","deno":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","deno":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","deno":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","deno":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","deno":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","deno":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","deno":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","deno":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","deno":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","deno":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","deno":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","deno":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"75e80485e3a78c27ca972047a2e5410680bf4524","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.0_1735741815389_0.9612443779707631","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@ayonli/jsext","version":"1.4.1","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"7bbcb00e1c5d4cf9b911b7a8e308a04f2a80cefa","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.1.tgz","fileCount":807,"integrity":"sha512-9BAGZVvEoTkQg75/zo8jFdFVzhud9CIr1hSHg1hu9GD9XIf2ml/r1TC8BgiZCoH/O6FMIo9ZWeau1DmXueUVYg==","signatures":[{"sig":"MEUCIDXCmFktWQJ8KExjkn59p+jigFCMXm9QwwAhWgFkqVDDAiEA8Xk32EtWqt/mD8Xl8lv/nfP5c1+f8c1n95XmDVVc9rU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5925461},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","deno":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","deno":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","deno":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","deno":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","deno":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","deno":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","deno":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","deno":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","deno":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","deno":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","deno":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","deno":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","deno":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","deno":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","deno":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","deno":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","deno":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","deno":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","deno":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","deno":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","deno":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","deno":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","deno":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","deno":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","deno":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","deno":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","deno":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","deno":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","deno":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","deno":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","deno":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","deno":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","deno":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","deno":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","deno":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","deno":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","deno":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","deno":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","deno":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","deno":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","deno":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","deno":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","deno":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","deno":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","deno":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","deno":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","deno":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","deno":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","deno":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","deno":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","deno":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","deno":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","deno":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"67d6f354e8d1c308f6d95f1cd5c096cf5016a43e","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.1_1735794428038_0.053351974546919534","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@ayonli/jsext","version":"1.4.2","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"84d69bca1daee795dac61af90d8dd3ff8b0aed97","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.2.tgz","fileCount":807,"integrity":"sha512-iCJGgv7YMHRLMaLY7dRrIqfyT+nfd83npNW/rDF3ovJ+RBHnVD4JG69vv5eqKQKpGaGM5kyg0EjPVw+bPABRsg==","signatures":[{"sig":"MEUCIQCZdWYZxrA+qw6yhJzXPey4T3WJBb4L0oNTLjcKYvWk/wIgW6TCHA70VBmqEijVGJoTb2MtPvN1/YpQPV6X4EB0dBY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5932970},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","deno":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","deno":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","deno":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","deno":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","deno":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","deno":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","deno":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","deno":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","deno":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","deno":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","deno":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","deno":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","deno":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","deno":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","deno":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","deno":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","deno":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","deno":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","deno":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","deno":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","deno":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","deno":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","deno":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","deno":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","deno":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","deno":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","deno":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","deno":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","deno":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","deno":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","deno":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","deno":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","deno":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","deno":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","deno":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","deno":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","deno":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","deno":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","deno":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","deno":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","deno":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","deno":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","deno":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","deno":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","deno":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","deno":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","deno":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","deno":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","deno":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","deno":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","deno":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","deno":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","deno":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"c42973471b35e00e603e2ec15a7cef2d6ddd637b","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.2_1736098881085_0.8089807288523123","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@ayonli/jsext","version":"1.4.3","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"0cde0232978875781d39b46ffd6952addf4d6b77","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.3.tgz","fileCount":807,"integrity":"sha512-XVuoV2vy+6GsC6YESvIMiCjJIPqWwl2BtOF2/Q01pyAOtbGGBfYZ6SPkp8r+WGNNvlKdOHpc+MDsaKoiz+ZpBA==","signatures":[{"sig":"MEQCH1gELW+oFKqU5ot9bZVGR/pinqQgvJQlKZRBa0y3gvwCIQD42qF9Jlz5vc/ELowbdToocuACWuV7nrrNc7z1ywCOHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5933490},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","deno":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","deno":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./ws.ts","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","deno":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","deno":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","deno":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","deno":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","deno":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","deno":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","deno":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","deno":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","deno":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","deno":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","deno":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","deno":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","deno":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","deno":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","deno":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","deno":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","deno":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","deno":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","deno":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","deno":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","deno":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","deno":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","deno":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","deno":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","deno":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","deno":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","deno":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","deno":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","deno":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","deno":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","deno":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","deno":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","deno":"./archive.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","deno":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","deno":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","deno":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","deno":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","deno":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","deno":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","deno":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","deno":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","deno":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","deno":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","deno":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","deno":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","deno":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","deno":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","deno":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","deno":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","deno":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","deno":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"3e7d90f382e4209f200a976982b283da7f7927a0","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.3_1738694182459_0.8661859382101946","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@ayonli/jsext","version":"1.4.4","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a5df143ce6a3ec386fdd21a93eb0389eda2e0590","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.4.tgz","fileCount":807,"integrity":"sha512-qvC0aQyTTWxw4z3Wf8lZ3sE7lSZoSJxDUAi0V5kTI9NzXqdSeCWrd8UgSIVcfUN1pEsYaU526mmux5eQbBLx/Q==","signatures":[{"sig":"MEUCIQDM7WdF17UNmVOklsoS3zcNuhWDmJ8dQoCACCL9nj8iNwIgcGBlQb2s7b0mehB5YaqP3DQasErk58JurTxvHV7HhD0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5931353},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"1e91721d8494122d7963777da10b0c0374b13818","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.4_1738701612144_0.8421836631142596","host":"s3://npm-registry-packages-npm-production"}},"1.4.5":{"name":"@ayonli/jsext","version":"1.4.5","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.5","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"7731cd5cce2e8e2e36d25001195be72d9eb59b4f","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.5.tgz","fileCount":807,"integrity":"sha512-zWrn78tCDCaT/Oqu5PFb/o9yzzDKp3vlryXXuBq51x5troad2oZK9MO2Pt54yWatfZECwbeGXJg/aYfp7XLkKA==","signatures":[{"sig":"MEYCIQCLuqsDkqgUiFyxLe2ttbKH6MyRKOBfxLBuvEVEKU1PawIhAJ1GjMRTG12VN24aVxy0XDS6eHyeX09OQN1F91rpne1w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5934511},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"b00237c8554f28b194e5b589c3b3c6748414cf59","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.5_1738912370458_0.7759987237896497","host":"s3://npm-registry-packages-npm-production"}},"1.4.6":{"name":"@ayonli/jsext","version":"1.4.6","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.6","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"febf6a59e5db8633b5255b7e2faa9f97bbff62a6","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.6.tgz","fileCount":807,"integrity":"sha512-dSpgCXxEGn3eCL0nB0KKPv+4PKHGz+9k7aBPGdrSFWCrGh+iCld2PXAFIlWd191p7MJH5Bf7+lwo+GoBJ4T3uA==","signatures":[{"sig":"MEQCIBjSlCjuXYuquEu5UKJir97HCgr17YE8aJ7agXWthgFmAiBR3JJDjZXlJixStcG7CWScl+v2zS2vdXmXsoHNmsH+2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5934680},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"c9142d17adc8dc325c012b33d88122e389335f81","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.6_1738915833321_0.9578523840764324","host":"s3://npm-registry-packages-npm-production"}},"1.4.7":{"name":"@ayonli/jsext","version":"1.4.7","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.4.7","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"54ee11718c7b7003e251322b7ec60f93746e9825","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.4.7.tgz","fileCount":807,"integrity":"sha512-7qtv7aV1DWgPQX8sr8xNMLoY6URzg110Et0lTYWj87b+vxuIQijRMgNRQ4sp41jeCoQar9y/seuL4OLhp8cmkA==","signatures":[{"sig":"MEUCIDELvksQROO6Sza+HCdswpjpvUX+WpA5e1tb5gxTunatAiEA5S9psWmt4sbkg/lAK37JImswKHmHO2Innxwc3p/uIxo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5937329},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"d8c8250be484d633293864839effb5cdcd113008","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.4.7_1738950620595_0.24223278921777114","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@ayonli/jsext","version":"1.5.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.5.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"ad8b2a5acfa89ec457aa0b076332ba3215970356","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.5.0.tgz","fileCount":807,"integrity":"sha512-LfkpM+J9gTpBX+KQ/yT+ChiK5VKRAeunwp3MH2B9ld5vAdvq53Qytq71gWhTWQmgh82jSxsFl1t3zWi5EYapiw==","signatures":[{"sig":"MEQCIHqCtwuqd/wkE8Za4aAZqaTzfYfTgAuXr8AmNlWu+Ss6AiALcvDB6w3aVqD8rBzUZPdQJMYSSbWZ+sww2w7eVR/ToA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5973841},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"0ed4c751af953fb5251643fce68c895669e77c65","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.5.0_1740911835606_0.16982020148193988","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@ayonli/jsext","version":"1.5.1","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.5.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"d056aeb1a96685fe6b10f7c069cb6d66259033ea","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.5.1.tgz","fileCount":807,"integrity":"sha512-Nm33zxKerFoe3X8LFmgvb21fnCRg0igJSXqUwOs1G6I5GlFufp+g6rZRrTxSrIOYA/ew1LCrm0rmHnd5R9zUWg==","signatures":[{"sig":"MEQCIDVqaKkzvyQ3BMBcieevkR5mkIcSSfA0mP2a1b1NCbqTAiAlgTw292WvM6KaEzvidJov8CXOQ9+FD77LYUg0lfnzlg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5974081},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"c0ef7cc07b8c02b593aae6a328d7e83d9109fcc2","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.5.1_1740986681976_0.3401839662148012","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@ayonli/jsext","version":"1.6.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.6.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"85a7b2cda6cfac200bfce5242dcabe3af9a9c370","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.6.0.tgz","fileCount":823,"integrity":"sha512-dMQuZJIVadEgQ6xp1Q5hRv2JfwANDwnElH6kZWuSjcnAjhvtCoQQ02CdOipfCd4cyrFpaI+8yBboiT9OkRaVyg==","signatures":[{"sig":"MEYCIQCDEDWKQ9QONbilu0gv0cvQoM2L4PNZFUIstfR3H29S3gIhALq7oErJbYgvfsuljkLr8lsrED8MekOhTpngVLrpPJYO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6057812},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"bun":"./index.ts","types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"bun":"./fs.ts","types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./ws.ts","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"bun":"./cli.ts","types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"bun":"./net.ts","types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"bun":"./run.ts","types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"bun":"./sse.ts","types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"bun":"./try.ts","types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"bun":"./chan.ts","types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"bun":"./func.ts","types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"bun":"./hash.ts","types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"bun":"./http.ts","types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"bun":"./json.ts","types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"bun":"./lock.ts","types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"bun":"./math.ts","types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./path":{"bun":"./path.ts","types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"bun":"./pipe.ts","types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"bun":"./wrap.ts","types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"bun":"./array.ts","types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"bun":"./async.ts","types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"bun":"./bytes.ts","types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"bun":"./class.ts","types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"bun":"./error.ts","types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"bun":"./event.ts","types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"bun":"./mixin.ts","types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"bun":"./queue.ts","types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"bun":"./types.ts","types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"bun":"./dialog.ts","types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"bun":"./fs/web.ts","types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"bun":"./module.ts","types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"bun":"./number.ts","types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"bun":"./object.ts","types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"bun":"./reader.ts","types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"bun":"./result.ts","types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"bun":"./string.ts","types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./archive/bun.ts","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"bun":"./augment.ts","types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"bun":"./runtime.ts","types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"bun":"./debounce.ts","types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"bun":"./encoding.ts","types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"bun":"./filetype.ts","types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"bun":"./hash/web.ts","types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"bun":"./parallel.ts","types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"bun":"./throttle.ts","types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"bun":"./augment/*.ts","types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"bun":"./deprecate.ts","types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"bun":"./fs/errors.ts","types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"bun":"./http/util.ts","types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"bun":"./ws/client.ts","types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"bun":"./dialog/cli.ts","types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"bun":"./dialog/web.ts","types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"bun":"./module/web.ts","types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"bun":"./collections.ts","types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"bun":"./http/internal.ts","types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"bun":"./class/decorators.ts","types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"c33cb588954342fa3939af1cab8bfd85d2e0696a","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.6.0_1742318655201_0.7688979283767268","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@ayonli/jsext","version":"1.7.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.7.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"769c06123372121a6cf109e9d67065ef34eb170e","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.7.0.tgz","fileCount":823,"integrity":"sha512-Ck5LRz6LKGnERcG7+Q5qIEnyQf6SDx+wRjzLp1dwnJMp4AQz4eBdI+ILzUo7G+kuld6YptSqKGoHML4gGfZnoA==","signatures":[{"sig":"MEQCIFIL68aM9o7Dgpdo6nrhBWyqOGFHMAOKMmqJnVRftUWjAiABQVjIwAuaz9p4oTqFqAqs0gSHBRansJlkd+C1tfJoDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6080791},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./esm/ws.js","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","default":"./once.ts","require":"./cjs/once.js"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./esm/archive/bun.js","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"7f071c1a177d80a56c83d2252a17f5b1a30870a7","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.7.0_1746628701181_0.20132135909400417","host":"s3://npm-registry-packages-npm-production"}},"1.7.1":{"name":"@ayonli/jsext","version":"1.7.1","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.7.1","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"a7b46b67e75526df67671bb0bed5453651306a95","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.7.1.tgz","fileCount":823,"integrity":"sha512-3nXq3XulTVhQTAGDigdyOIi8mqS9nTBnSgeTDKWq42wVtVb5xwN5uvHTLD2V96Qv1/RTWl95jmyuaIFAebHLcQ==","signatures":[{"sig":"MEUCIGnikBC7hn3yB0+tCPVac+YeK2wrLdCuMfsvO6Qq83dMAiEAiJncU/EGpRaCsuMU28RqIRh89b9Z+rW4sli1dh9sn9w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6082501},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./esm/ws.js","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","default":"./once.ts","require":"./cjs/once.js"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./esm/archive/bun.js","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"5a6c896c271d6cea426fa61afb572f92d9f1874e","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.7.1_1746716051419_0.8812714183833461","host":"s3://npm-registry-packages-npm-production"}},"1.7.2":{"name":"@ayonli/jsext","version":"1.7.2","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.7.2","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"998b7b3f88f51920cafcc6b9a66bdfe748af4ac3","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.7.2.tgz","fileCount":829,"integrity":"sha512-RmbIg+dMsP/YHI0IUZYQNo84mHjm4YsuT7gaxlsip7cO5epeFvzTlLWlxHQESttt0ImAx6OSwGGWJJX2cr+Ctw==","signatures":[{"sig":"MEUCIFjJzVVZbm64shDEQSK7hHE/1Miyw7C/4HQeTt6eQXIZAiEApUd7nUImFAbbYILkL2p8SNR4eSNxwkPnxnFo3grVyow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6090176},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./esm/ws.js","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","default":"./once.ts","require":"./cjs/once.js"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./esm/archive/bun.js","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"2aef465d0f9e8ee9c45d99ca9ce3da8687e5321f","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.7.2_1746728851241_0.6850773318050485","host":"s3://npm-registry-packages-npm-production"}},"1.7.3":{"name":"@ayonli/jsext","version":"1.7.3","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.7.3","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"80425a092cd06615c83fa6e1e7026bf10061f2ea","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.7.3.tgz","fileCount":829,"integrity":"sha512-Hqcn63YHbl/rZi8sK4M9dRFNSs/JoKZNJj3c7Ae0f+OJSrAYOOMjwVlt0qN1daXJAgGkPLNYNJuYEfzZwCRLRw==","signatures":[{"sig":"MEUCIFIV5dNSp+Nx/28cCHbSbe48uv9aAskmDfpHuvWj/yYRAiEAjVJIheY+tj0zVltBLp6DpYLu1U3ThaWIdSuSHGMKb7Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6099493},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./esm/ws.js","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","default":"./once.ts","require":"./cjs/once.js"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./esm/archive/bun.js","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"d0ad33d1503d5dbc6d564dacb88410df24f0c7c1","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.7.3_1746816537296_0.6139478210017648","host":"s3://npm-registry-packages-npm-production"}},"1.7.4":{"name":"@ayonli/jsext","version":"1.7.4","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.7.4","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"59d80784c527a2ef4647de5e13b6ce530066f8ea","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.7.4.tgz","fileCount":829,"integrity":"sha512-4AaOVyV38kXwa5eAeBRq6rLgILt4TdciE1rwOHsJRVpOeP4HMTBtmx9eaDPIJ6ghYa8c652Yn03xZTXIVSobQw==","signatures":[{"sig":"MEUCIFFFN9hB1y46n6JDryPves04CNiNwpRAH0vLkXFtLEvAAiEAjT+UjkJbeNDwa3rrN70MWode7ZM4wnaeaAXcFRy7v/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6098458},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./esm/ws.js","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","default":"./once.ts","require":"./cjs/once.js"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./esm/archive/bun.js","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"446747c6d2b50a27b7749a4e605a9b642873af03","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","actor":{"name":"ayonli","type":"user","email":"the@ayon.li"},"email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.7.4_1750844813606_0.09980758956098223","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"@ayonli/jsext","version":"1.8.0","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","_id":"@ayonli/jsext@1.8.0","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"homepage":"https://github.com/ayonli/jsext#readme","bugs":{"url":"https://github.com/ayonli/jsext/issues"},"dist":{"shasum":"353215c8a4169308673985888de6916c5cc205c9","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.8.0.tgz","fileCount":829,"integrity":"sha512-haJSYDLDaddK2LV1vr/n34lfLqIMdy0PH4+mumLBWMFzjJXhTXew9v6cpkaj9ZJhTbKRb+v+ny/0x3RxlkABZw==","signatures":[{"sig":"MEUCIHsbD7ctAXIjcoJlsw6RorE5jnU2eO+Hjn7k8tf3c5RLAiEA2Bb1ss6UPav32wmbWyEZI28mlLNl567wRGsHP5pjYbo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6116169},"type":"module","engines":{"node":">=14.18"},"exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","import":"./esm/index.js","default":"./index.ts","require":"./cjs/index.js","workerd":"./esm/workerd/index.js"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","import":"./esm/fs.js","default":"./fs.ts","require":"./cjs/fs.js","workerd":"./esm/workerd/fs.js"},"./ws":{"bun":"./esm/ws.js","deno":"./esm/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"types":"./types/ws.d.ts","fastly":"./esm/workerd/ws.js","import":"./esm/ws.js","default":"./ws.ts","require":"./cjs/ws.js","workerd":"./esm/workerd/ws.js"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","import":"./esm/cli.js","default":"./cli.ts","require":"./cjs/cli.js","workerd":"./esm/workerd/cli.js"},"./net":{"types":"./types/net.d.ts","import":"./esm/net.js","default":"./net.ts","require":"./cjs/net.js","workerd":"./esm/workerd/net.js"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","import":"./esm/run.js","default":"./run.ts","require":"./cjs/run.js","workerd":"./esm/workerd/run.js"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","default":"./sse.ts","require":"./cjs/sse.js"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","default":"./try.ts","require":"./cjs/try.js"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","default":"./chan.ts","require":"./cjs/chan.js"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","default":"./func.ts","require":"./cjs/func.js"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","import":"./esm/hash.js","default":"./hash.ts","require":"./cjs/hash.js","workerd":"./esm/workerd/hash.js"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","import":"./esm/http.js","default":"./http.ts","require":"./cjs/http.js","workerd":"./esm/workerd/http.js"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","default":"./json.ts","require":"./cjs/json.js"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","default":"./lock.ts","require":"./cjs/lock.js"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","default":"./math.ts","require":"./cjs/math.js"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","default":"./once.ts","require":"./cjs/once.js"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","default":"./path.ts","require":"./cjs/path.js"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","default":"./pipe.ts","require":"./cjs/pipe.js"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","default":"./wrap.ts","require":"./cjs/wrap.js"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","default":"./array.ts","require":"./cjs/array.js"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","default":"./async.ts","require":"./cjs/async.js"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","default":"./bytes.ts","require":"./cjs/bytes.js"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","default":"./class.ts","require":"./cjs/class.js"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","default":"./error.ts","require":"./cjs/error.js"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","default":"./event.ts","require":"./cjs/event.js"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","default":"./mixin.ts","require":"./cjs/mixin.js"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","default":"./queue.ts","require":"./cjs/queue.js"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","default":"./types.ts","require":"./cjs/types.js"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","import":"./esm/dialog.js","default":"./dialog.ts","require":"./cjs/dialog.js","workerd":"./esm/workerd/dialog.js"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","default":"./fs/web.ts","require":"./cjs/fs/web.js"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","import":"./esm/module.js","default":"./module.ts","require":"./cjs/module.js","workerd":"./esm/module/web.js"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","default":"./number.ts","require":"./cjs/number.js"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","default":"./object.ts","require":"./cjs/object.js"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","default":"./reader.ts","require":"./cjs/reader.js"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","default":"./result.ts","require":"./cjs/result.js"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","default":"./string.ts","require":"./cjs/string.js"},"./archive":{"bun":"./esm/archive/bun.js","types":"./types/archive.d.ts","fastly":"./esm/workerd/archive.js","import":"./esm/archive.js","default":"./archive.ts","require":"./cjs/archive.js","workerd":"./esm/workerd/archive.js"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","default":"./augment.ts","require":"./cjs/augment.js"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","default":"./runtime.ts","require":"./cjs/runtime.js"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","default":"./debounce.ts","require":"./cjs/debounce.js"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","default":"./encoding.ts","require":"./cjs/encoding.js"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","default":"./filetype.ts","require":"./cjs/filetype.js"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","default":"./hash/web.ts","require":"./cjs/hash/web.js"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","import":"./esm/parallel.js","default":"./parallel.ts","require":"./cjs/parallel.js","workerd":"./esm/workerd/parallel.js"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","default":"./throttle.ts","require":"./cjs/throttle.js"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","default":"./augment/*.ts","require":"./cjs/augment/*.js"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","default":"./deprecate.ts","require":"./cjs/deprecate.js"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","default":"./fs/errors.ts","require":"./cjs/fs/errors.js"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","default":"./http/util.ts","require":"./cjs/http/util.js"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","default":"./ws/client.ts","require":"./cjs/ws/client.js"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","default":"./dialog/cli.ts","require":"./cjs/dialog/cli.js"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","default":"./dialog/web.ts","require":"./cjs/dialog/web.js"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","default":"./module/web.ts","require":"./cjs/module/web.js"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","default":"./collections.ts","require":"./cjs/collections.js"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","default":"./http/internal.ts","require":"./cjs/http/internal.js"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","default":"./class/decorators.ts","require":"./cjs/class/decorators.js"}},"gitHead":"b1aa325bf14b2d7982854bcd77a0fcbf17456968","scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:pty":"npm run test:pty:node && npm run test:pty:deno","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ayonli","actor":{"name":"ayonli","type":"user","email":"the@ayon.li"},"email":"the@ayon.li"},"repository":{"url":"git+https://github.com/ayonli/jsext.git","type":"git"},"_npmVersion":"10.5.0","description":"A JavaScript extension package for building strong and modern applications.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"ws":"^8.17.0","zod":"^3.23.8","iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","glob":"^10.3.10","hono":"^4.4.4","jsdom":"^24.0.0","mocha":"^10.2.0","tslib":"^2.6.2","rollup":"^3.29.2","express":"^4.19.2","ts-node":"^10.9.1","node-pty":"^1.0.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","strip-ansi":"^7.1.0","typescript":"^5.4.3","@types/node":"^20.6.0","string-hash":"^1.1.3","@types/mocha":"^10.0.1","global-jsdom":"^24.0.0","isomorphic-ws":"^5.0.0","@types/express":"^4.17.21","@hono/node-server":"^1.11.2","@testing-library/dom":"^10.4.0","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-commonjs":"^25.0.4","@cloudflare/workers-types":"^4.20241112.0","@rollup/plugin-typescript":"^11.1.3","@rollup/plugin-node-resolve":"^15.2.1"},"_npmOperationalInternal":{"tmp":"tmp/jsext_1.8.0_1751215852679_0.04065500786778231","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"@ayonli/jsext","version":"1.9.0","description":"A JavaScript extension package for building strong and modern applications.","type":"module","exports":{".":{"types":"./types/index.d.ts","fastly":"./esm/workerd/index.js","workerd":"./esm/workerd/index.js","import":"./esm/index.js","require":"./cjs/index.js","default":"./index.ts"},"./archive":{"types":"./types/archive.d.ts","bun":"./esm/archive/bun.js","fastly":"./esm/workerd/archive.js","workerd":"./esm/workerd/archive.js","import":"./esm/archive.js","require":"./cjs/archive.js","default":"./archive.ts"},"./array":{"types":"./types/array.d.ts","import":"./esm/array.js","require":"./cjs/array.js","default":"./array.ts"},"./async":{"types":"./types/async.d.ts","import":"./esm/async.js","require":"./cjs/async.js","default":"./async.ts"},"./augment":{"types":"./types/augment.d.ts","import":"./esm/augment.js","require":"./cjs/augment.js","default":"./augment.ts"},"./augment/*":{"types":"./types/augment/*.d.ts","import":"./esm/augment/*.js","require":"./cjs/augment/*.js","default":"./augment/*.ts"},"./bytes":{"types":"./types/bytes.d.ts","import":"./esm/bytes.js","require":"./cjs/bytes.js","default":"./bytes.ts"},"./chan":{"types":"./types/chan.d.ts","import":"./esm/chan.js","require":"./cjs/chan.js","default":"./chan.ts"},"./class":{"types":"./types/class.d.ts","import":"./esm/class.js","require":"./cjs/class.js","default":"./class.ts"},"./class/decorators":{"types":"./types/class/decorators.d.ts","import":"./esm/class/decorators.js","require":"./cjs/class/decorators.js","default":"./class/decorators.ts"},"./cli":{"types":"./types/cli.d.ts","fastly":"./esm/workerd/cli.js","workerd":"./esm/workerd/cli.js","import":"./esm/cli.js","require":"./cjs/cli.js","default":"./cli.ts"},"./collections":{"types":"./types/collections.d.ts","import":"./esm/collections.js","require":"./cjs/collections.js","default":"./collections.ts"},"./debounce":{"types":"./types/debounce.d.ts","import":"./esm/debounce.js","require":"./cjs/debounce.js","default":"./debounce.ts"},"./deprecate":{"types":"./types/deprecate.d.ts","import":"./esm/deprecate.js","require":"./cjs/deprecate.js","default":"./deprecate.ts"},"./dialog":{"types":"./types/dialog.d.ts","fastly":"./esm/workerd/dialog.js","workerd":"./esm/workerd/dialog.js","import":"./esm/dialog.js","require":"./cjs/dialog.js","default":"./dialog.ts"},"./dialog/web":{"types":"./types/dialog/web.d.ts","import":"./esm/dialog/web.js","require":"./cjs/dialog/web.js","default":"./dialog/web.ts"},"./dialog/cli":{"types":"./types/dialog/cli.d.ts","import":"./esm/dialog/cli.js","require":"./cjs/dialog/cli.js","default":"./dialog/cli.ts"},"./encoding":{"types":"./types/encoding.d.ts","import":"./esm/encoding.js","require":"./cjs/encoding.js","default":"./encoding.ts"},"./error":{"types":"./types/error.d.ts","import":"./esm/error.js","require":"./cjs/error.js","default":"./error.ts"},"./event":{"types":"./types/event.d.ts","import":"./esm/event.js","require":"./cjs/event.js","default":"./event.ts"},"./filetype":{"types":"./types/filetype.d.ts","import":"./esm/filetype.js","require":"./cjs/filetype.js","default":"./filetype.ts"},"./fs":{"types":"./types/fs.d.ts","fastly":"./esm/workerd/fs.js","workerd":"./esm/workerd/fs.js","import":"./esm/fs.js","require":"./cjs/fs.js","default":"./fs.ts"},"./fs/errors":{"types":"./types/fs/errors.d.ts","import":"./esm/fs/errors.js","require":"./cjs/fs/errors.js","default":"./fs/errors.ts"},"./fs/web":{"types":"./types/fs/web.d.ts","import":"./esm/fs/web.js","require":"./cjs/fs/web.js","default":"./fs/web.ts"},"./func":{"types":"./types/func.d.ts","import":"./esm/func.js","require":"./cjs/func.js","default":"./func.ts"},"./hash":{"types":"./types/hash.d.ts","fastly":"./esm/workerd/hash.js","workerd":"./esm/workerd/hash.js","import":"./esm/hash.js","require":"./cjs/hash.js","default":"./hash.ts"},"./hash/web":{"types":"./types/hash/web.d.ts","import":"./esm/hash/web.js","require":"./cjs/hash/web.js","default":"./hash/web.ts"},"./http":{"types":"./types/http.d.ts","fastly":"./esm/workerd/http.js","workerd":"./esm/workerd/http.js","import":"./esm/http.js","require":"./cjs/http.js","default":"./http.ts"},"./http/internal":{"types":"./types/http/internal.d.ts","import":"./esm/http/internal.js","require":"./cjs/http/internal.js","default":"./http/internal.ts"},"./http/util":{"types":"./types/http/util.d.ts","import":"./esm/http/util.js","require":"./cjs/http/util.js","default":"./http/util.ts"},"./iterator":{"types":"./types/iterator.d.ts","import":"./esm/iterator.js","require":"./cjs/iterator.js","default":"./iterator.ts"},"./json":{"types":"./types/json.d.ts","import":"./esm/json.js","require":"./cjs/json.js","default":"./json.ts"},"./lock":{"types":"./types/lock.d.ts","import":"./esm/lock.js","require":"./cjs/lock.js","default":"./lock.ts"},"./math":{"types":"./types/math.d.ts","import":"./esm/math.js","require":"./cjs/math.js","default":"./math.ts"},"./mixin":{"types":"./types/mixin.d.ts","import":"./esm/mixin.js","require":"./cjs/mixin.js","default":"./mixin.ts"},"./module":{"types":"./types/module.d.ts","fastly":"./esm/module/web.js","workerd":"./esm/module/web.js","import":"./esm/module.js","require":"./cjs/module.js","default":"./module.ts"},"./module/web":{"types":"./types/module/web.d.ts","import":"./esm/module/web.js","require":"./cjs/module/web.js","default":"./module/web.ts"},"./net":{"types":"./types/net.d.ts","workerd":"./esm/workerd/net.js","import":"./esm/net.js","require":"./cjs/net.js","default":"./net.ts"},"./number":{"types":"./types/number.d.ts","import":"./esm/number.js","require":"./cjs/number.js","default":"./number.ts"},"./object":{"types":"./types/object.d.ts","import":"./esm/object.js","require":"./cjs/object.js","default":"./object.ts"},"./once":{"types":"./types/once.d.ts","import":"./esm/once.js","require":"./cjs/once.js","default":"./once.ts"},"./parallel":{"types":"./types/parallel.d.ts","fastly":"./esm/workerd/parallel.js","workerd":"./esm/workerd/parallel.js","import":"./esm/parallel.js","require":"./cjs/parallel.js","default":"./parallel.ts"},"./path":{"types":"./types/path.d.ts","import":"./esm/path.js","require":"./cjs/path.js","default":"./path.ts"},"./pipe":{"types":"./types/pipe.d.ts","import":"./esm/pipe.js","require":"./cjs/pipe.js","default":"./pipe.ts"},"./queue":{"types":"./types/queue.d.ts","import":"./esm/queue.js","require":"./cjs/queue.js","default":"./queue.ts"},"./reader":{"types":"./types/reader.d.ts","import":"./esm/reader.js","require":"./cjs/reader.js","default":"./reader.ts"},"./result":{"types":"./types/result.d.ts","import":"./esm/result.js","require":"./cjs/result.js","default":"./result.ts"},"./run":{"types":"./types/run.d.ts","fastly":"./esm/workerd/run.js","workerd":"./esm/workerd/run.js","import":"./esm/run.js","require":"./cjs/run.js","default":"./run.ts"},"./runtime":{"types":"./types/runtime.d.ts","fastly":"./esm/fastly/runtime.js","import":"./esm/runtime.js","require":"./cjs/runtime.js","default":"./runtime.ts"},"./sse":{"types":"./types/sse.d.ts","import":"./esm/sse.js","require":"./cjs/sse.js","default":"./sse.ts"},"./string":{"types":"./types/string.d.ts","import":"./esm/string.js","require":"./cjs/string.js","default":"./string.ts"},"./throttle":{"types":"./types/throttle.d.ts","import":"./esm/throttle.js","require":"./cjs/throttle.js","default":"./throttle.ts"},"./try":{"types":"./types/try.d.ts","import":"./esm/try.js","require":"./cjs/try.js","default":"./try.ts"},"./types":{"types":"./types/types.d.ts","import":"./esm/types.js","require":"./cjs/types.js","default":"./types.ts"},"./wrap":{"types":"./types/wrap.d.ts","import":"./esm/wrap.js","require":"./cjs/wrap.js","default":"./wrap.ts"},"./ws":{"types":"./types/ws.d.ts","bun":"./esm/ws.js","deno":"./esm/ws.js","fastly":"./esm/workerd/ws.js","workerd":"./esm/workerd/ws.js","node":{"import":"./esm/ws/node.js","require":"./cjs/ws/node.js"},"import":"./esm/ws.js","require":"./cjs/ws.js","default":"./ws.ts"},"./ws/client":{"types":"./types/ws/client.d.ts","import":"./esm/ws/client.js","require":"./cjs/ws/client.js","default":"./ws/client.ts"}},"scripts":{"test":"node --no-warnings=ExperimentalWarning --experimental-loader=ts-node/esm ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:tsx":"tsc --noEmit && tsx ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:deno":"deno run -A test-deno.ts","test:bun":"bun run ./node_modules/mocha/bin/mocha --config mocha.json --exit","test:jsdom":"tsx ./node_modules/mocha/bin/mocha --config mocha.jsdom.json --exit -r global-jsdom/register -r jsdom-setup.js","test:pty:node":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit","test:pty:deno":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --deno","test:pty:bun":"tsx ./node_modules/mocha/bin/mocha --config mocha.pty.json --exit --bun","test:pty":"npm run test:pty:node && npm run test:pty:deno","build":"rollup -c rollup.config.js && tsc -p tsconfig.types.json && node rollup.config.js","typing":"tsc --noEmit --watch","prepublishOnly":"npm run build"},"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","homepage":"https://github.com/ayonli/jsext#readme","repository":{"type":"git","url":"git+https://github.com/ayonli/jsext.git"},"bugs":{"url":"https://github.com/ayonli/jsext/issues"},"keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"dependencies":{"iconv-lite":"^0.6.3","sudo-prompt":"^9.2.1","ws":"^8.17.0","zod":"^3.23.8"},"devDependencies":{"@cloudflare/workers-types":"^4.20241112.0","@hono/node-server":"^1.11.2","@rollup/plugin-commonjs":"^25.0.4","@rollup/plugin-node-resolve":"^15.2.1","@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.3","@testing-library/dom":"^10.4.0","@types/express":"^4.17.21","@types/mocha":"^10.0.1","@types/node":"^24.3.0","@types/ws":"^8.5.10","bun-types":"^1.1.36","express":"^4.19.2","glob":"^10.3.10","global-jsdom":"^24.0.0","hono":"^4.4.4","isomorphic-ws":"^5.0.0","jsdom":"^24.0.0","mocha":"^10.2.0","node-pty":"^1.0.0","rollup":"^3.29.2","string-hash":"^1.1.3","strip-ansi":"^7.1.0","ts-node":"^10.9.1","tslib":"^2.6.2","tsx":"^4.7.1","typescript":"^5.9.2"},"engines":{"node":">=14.18"},"_id":"@ayonli/jsext@1.9.0","gitHead":"ccf374f99a190ad497b5cec974ea20badbe1c8de","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-hIu6lQhoLr5e26lmt+vzopuZffaAyb623r4+8HlN/rhXgm2ywHslzk7UHiATdfDbfPjBARkB6cfXjVEi3aav6g==","shasum":"58f66669cef680e78e06ceb43c3127a5bd1626f4","tarball":"https://registry.npmjs.org/@ayonli/jsext/-/jsext-1.9.0.tgz","fileCount":841,"unpackedSize":6327932,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCOUGb9QUDGD3zUGuyD8EMq5EEI5UjvmUg/004q2BQOcQIgb42NOH+aeH+iM55jNhkiTUpnvTdMtwnElQRNMzTP3So="}]},"_npmUser":{"name":"ayonli","email":"the@ayon.li"},"directories":{},"maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jsext_1.9.0_1759571218610_0.917425899289056"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-11T16:50:40.337Z","modified":"2025-10-04T09:46:59.326Z","0.1.0":"2023-09-11T16:50:40.654Z","0.1.1":"2023-09-12T13:22:11.490Z","0.2.0":"2023-09-12T17:02:53.135Z","0.3.0":"2023-09-13T15:54:59.615Z","0.3.1":"2023-09-13T17:00:21.192Z","0.3.2":"2023-09-13T18:09:29.819Z","0.3.3":"2023-09-13T19:30:20.076Z","0.3.4":"2023-09-14T08:51:56.658Z","0.3.5":"2023-09-14T19:57:09.760Z","0.3.6":"2023-09-15T05:43:34.562Z","0.3.7":"2023-09-15T16:57:13.649Z","0.3.8":"2023-09-15T19:53:34.475Z","0.3.9":"2023-09-15T19:58:33.948Z","0.3.10":"2023-09-15T20:22:04.898Z","0.4.0":"2023-09-16T15:48:35.824Z","0.4.1":"2023-09-17T08:13:08.169Z","0.4.2":"2023-09-17T15:59:07.344Z","0.4.3":"2023-09-17T20:29:50.793Z","0.4.4":"2023-09-18T06:00:00.307Z","0.4.5":"2023-09-18T12:08:28.827Z","0.4.6":"2023-09-18T17:02:05.840Z","0.5.0":"2023-09-21T02:19:06.294Z","0.5.1":"2023-09-21T07:22:10.575Z","0.5.2":"2023-09-21T15:51:51.499Z","0.5.3":"2023-09-24T18:10:36.255Z","0.5.4":"2023-09-26T16:58:04.127Z","0.5.5":"2023-09-26T18:31:46.432Z","0.5.6":"2023-09-27T05:34:39.507Z","0.5.7":"2023-09-27T09:43:43.449Z","0.6.0":"2023-09-30T18:41:41.793Z","0.6.1":"2023-10-06T11:39:03.750Z","0.6.2":"2023-10-06T18:47:28.780Z","0.6.3":"2023-10-07T18:13:34.778Z","0.6.4":"2023-10-14T15:02:37.523Z","0.6.5":"2023-10-15T15:27:04.756Z","0.6.6":"2023-10-15T21:25:28.401Z","0.6.7":"2023-10-16T19:21:49.999Z","0.6.8":"2023-10-16T20:16:38.269Z","0.6.9":"2023-10-16T21:08:58.494Z","0.6.10":"2023-10-17T23:34:13.299Z","0.6.11":"2023-10-18T19:51:52.149Z","0.6.12":"2023-10-19T02:50:00.779Z","0.6.13":"2023-10-19T14:54:59.889Z","0.6.14":"2023-10-20T08:07:49.696Z","0.6.15":"2023-10-20T21:45:49.799Z","0.6.16":"2023-10-22T04:07:17.170Z","0.6.17":"2023-10-22T14:34:40.122Z","0.6.18":"2023-10-22T14:56:48.248Z","0.6.20":"2023-10-23T17:20:07.950Z","0.6.21":"2023-10-25T10:27:17.878Z","0.6.22":"2023-10-28T18:54:07.878Z","0.6.23":"2023-11-02T17:27:27.861Z","0.6.24":"2023-12-27T15:51:45.490Z","0.6.25":"2024-01-07T10:23:12.688Z","0.6.26":"2024-01-24T13:58:10.620Z","0.6.27":"2024-01-24T16:27:49.902Z","0.6.28":"2024-01-30T19:28:10.055Z","0.6.29":"2024-02-17T06:09:21.724Z","0.6.30":"2024-02-21T18:16:08.176Z","0.6.31":"2024-02-22T14:16:01.349Z","0.7.0":"2024-02-26T12:10:34.933Z","0.7.1":"2024-02-26T15:55:51.253Z","0.7.2":"2024-03-03T13:52:49.551Z","0.7.5":"2024-03-09T15:04:04.130Z","0.7.6":"2024-03-10T14:49:16.286Z","0.7.7":"2024-03-10T14:59:54.767Z","0.7.8":"2024-03-14T15:36:48.018Z","0.7.10":"2024-03-17T17:25:59.819Z","0.7.11":"2024-03-20T14:40:05.644Z","0.8.0":"2024-03-24T10:12:40.876Z","0.8.1":"2024-03-24T15:43:46.306Z","0.8.2":"2024-03-24T16:12:34.221Z","0.8.3":"2024-03-26T15:07:11.403Z","0.8.4":"2024-03-31T04:24:19.260Z","0.8.5":"2024-04-01T15:23:03.046Z","0.8.6":"2024-04-05T05:43:35.605Z","0.8.7":"2024-04-05T14:03:08.612Z","0.8.8":"2024-04-05T17:55:21.785Z","0.8.9":"2024-04-07T06:25:04.515Z","0.8.10":"2024-04-08T15:24:20.628Z","0.8.11":"2024-04-08T17:51:05.487Z","0.8.20":"2024-04-13T18:43:14.848Z","0.8.21":"2024-04-13T19:23:42.141Z","0.8.22":"2024-04-14T16:28:19.715Z","0.8.23":"2024-04-15T15:58:07.369Z","0.8.24":"2024-04-16T16:24:22.132Z","0.8.25":"2024-04-18T16:35:36.503Z","0.8.30":"2024-04-20T15:11:11.984Z","0.8.40":"2024-04-27T09:25:42.948Z","0.8.41":"2024-04-30T20:21:26.721Z","0.8.42":"2024-05-01T07:55:00.586Z","0.8.43":"2024-05-04T08:06:12.458Z","0.9.0":"2024-05-13T18:25:21.924Z","0.9.1":"2024-05-14T01:08:00.010Z","0.9.2":"2024-05-14T04:16:23.940Z","0.9.3":"2024-05-14T15:23:53.103Z","0.9.4":"2024-05-14T18:13:15.437Z","0.9.5":"2024-05-15T05:33:50.510Z","0.9.6":"2024-05-15T17:15:02.605Z","0.9.7":"2024-05-16T18:05:33.408Z","0.9.8":"2024-05-18T02:14:29.181Z","0.9.10":"2024-05-20T16:39:57.377Z","0.9.11":"2024-05-22T15:33:10.086Z","0.9.12":"2024-05-23T16:56:55.846Z","0.9.13":"2024-05-27T13:10:03.827Z","0.9.14":"2024-05-28T06:16:50.178Z","0.9.15":"2024-05-28T15:21:15.646Z","0.9.16":"2024-05-29T16:08:03.432Z","0.9.17":"2024-06-02T05:07:03.099Z","0.9.18":"2024-06-05T02:57:03.146Z","0.9.19":"2024-06-05T03:15:50.633Z","0.9.20":"2024-06-05T05:24:15.534Z","0.9.30":"2024-06-10T14:21:05.307Z","0.9.31":"2024-06-10T14:49:47.018Z","0.9.32":"2024-06-15T10:30:33.341Z","0.9.33":"2024-06-15T10:43:20.682Z","0.9.34":"2024-06-15T18:23:28.470Z","0.9.35":"2024-06-18T12:53:18.791Z","0.9.40":"2024-07-07T10:45:49.731Z","0.9.41":"2024-07-07T16:11:40.953Z","0.9.42":"2024-07-08T13:07:40.540Z","0.9.50":"2024-07-14T13:41:28.928Z","0.9.51":"2024-07-15T16:33:25.024Z","0.9.52":"2024-07-15T17:38:19.792Z","0.9.53":"2024-07-16T15:29:07.625Z","0.9.54":"2024-07-31T17:39:24.997Z","0.9.55":"2024-08-04T07:48:27.320Z","0.9.56":"2024-08-04T16:44:11.504Z","0.9.57":"2024-08-11T14:03:15.806Z","0.9.58":"2024-08-12T16:49:15.535Z","0.9.60":"2024-08-18T13:02:45.181Z","0.9.61":"2024-08-20T16:19:07.183Z","0.9.62":"2024-08-24T05:28:00.713Z","0.9.63":"2024-08-25T11:35:24.403Z","0.9.64":"2024-09-11T15:58:31.368Z","0.9.65":"2024-09-12T04:58:41.755Z","0.9.66":"2024-09-19T06:07:05.530Z","0.9.67":"2024-10-13T16:14:11.153Z","0.9.68":"2024-10-19T00:02:12.518Z","0.9.70":"2024-10-27T13:23:22.042Z","0.9.71":"2024-10-27T13:59:02.664Z","0.9.72":"2024-11-02T06:12:33.344Z","0.9.80":"2024-11-16T16:39:54.945Z","1.0.0":"2024-11-17T18:42:32.369Z","1.1.0":"2024-11-23T07:14:04.897Z","1.1.1":"2024-11-23T16:52:21.964Z","1.2.0":"2024-12-01T18:10:04.452Z","1.2.1":"2024-12-08T13:35:03.379Z","1.2.2":"2024-12-15T04:43:39.278Z","1.2.3":"2024-12-15T08:31:30.504Z","1.2.4":"2024-12-22T15:48:39.713Z","1.3.0":"2024-12-22T16:58:35.876Z","1.3.1":"2024-12-29T06:26:21.291Z","1.4.0":"2025-01-01T14:30:15.754Z","1.4.1":"2025-01-02T05:07:08.304Z","1.4.2":"2025-01-05T17:41:21.397Z","1.4.3":"2025-02-04T18:36:22.847Z","1.4.4":"2025-02-04T20:40:12.442Z","1.4.5":"2025-02-07T07:12:50.779Z","1.4.6":"2025-02-07T08:10:33.721Z","1.4.7":"2025-02-07T17:50:20.960Z","1.5.0":"2025-03-02T10:37:15.868Z","1.5.1":"2025-03-03T07:24:42.284Z","1.6.0":"2025-03-18T17:24:15.478Z","1.7.0":"2025-05-07T14:38:21.569Z","1.7.1":"2025-05-08T14:54:11.717Z","1.7.2":"2025-05-08T18:27:31.460Z","1.7.3":"2025-05-09T18:48:57.569Z","1.7.4":"2025-06-25T09:46:53.828Z","1.8.0":"2025-06-29T16:50:52.892Z","1.9.0":"2025-10-04T09:46:58.846Z"},"bugs":{"url":"https://github.com/ayonli/jsext/issues"},"author":{"name":"A-yon Lee","email":"the@ayon.li"},"license":"MIT","homepage":"https://github.com/ayonli/jsext#readme","keywords":["wrap","mixin","try","defer","throttle","debounce","queue","channel","worker","parallel","parallelism","multithreading","goroutine","asyncIterator","compare","capitalize","hyphenate","chunk","truncate","trim","byteLength","random","isFloat","isNumeric","range","count","equals","split","uniq","shuffle","orderBy","groupBy","patch","pick","omit","hasOwn","hasOwnMethod","as","isValid","isPlainObject","sanitize","sortKeys","flatKeys","sum","avg","product","round","sleep","until","promise","json","error","uint8array","path","dirname","basename","extname","resolve","join","contains","startsWith","endsWith","alert","confirm","prompt","async","interop","importScript","BiMap","CiMap","tarball","tar","untar","fs","readDir","readFile","writeFile","rename","link","readLink","createReadableStream","createWritableStream","stream","sse","bytes","ByteArray","pipe","cli","run","powershell","which","sudo","parseArgs","stringWidth","hash","md5","sha1","sha256","sha512"],"repository":{"type":"git","url":"git+https://github.com/ayonli/jsext.git"},"description":"A JavaScript extension package for building strong and modern applications.","maintainers":[{"name":"ayonli","email":"the@ayon.li"}],"readme":"# JsExt\n\nA JavaScript extension package for building strong and modern applications.\n\nThis package is built on top of modern web standards and provides unified\nhigh-level APIs that can work across different runtime environments, whether\nit's Node.js, Deno, Bun, Cloudflare Workers, browsers, Windows, macOS or Linux.\n\n## Outstanding Features\n\n- [x] Various useful functions for built-in data types that are not built-in.\n- [x] Various utility functions to extend the ability of flow control.\n- [x] Multi-threaded JavaScript with parallel threads.\n- [x] File system APIs for both server and browser environments.\n- [x] Open dialogs in both CLI and web applications.\n- [x] Serve HTTP requests, SSE and WebSockets for all server runtimes.\n- [x] Manipulate file system paths and URLs in the same fashion.\n- [x] Process byte arrays and readable streams effortlessly.\n- [x] Create, extract and preview archives in all runtimes.\n- [x] And many more...\n\n## Import\n\nThe recommended way is to only import the ones that are needed:\n\n```js\n// Universal\nimport _try from \"@ayonli/jsext/try\";\nimport func from \"@ayonli/jsext/func\";\n// ...\n\n// Deno (URL)\nimport _try from \"https://lib.deno.dev/x/ayonli_jsext@latest/try.ts\";\nimport func from \"https://lib.deno.dev/x/ayonli_jsext@latest/func.ts\";\n// ...\n\n// Browsers (URL)\nimport _try from \"https://ayonli.github.io/jsext/esm/try.js\";\nimport func from \"https://ayonli.github.io/jsext/esm/func.js\";\n// ...\n```\n\nThere is also a bundled version that can be loaded via a `<script>` tag in the\nbrowser.\n\n```html\n<script src=\"https://ayonli.github.io/jsext/bundle/jsext.js\">\n    // this will also include the sub-modules and augmentations\n</script>\n```\n\n### Note for Cloudflare Workers and Fastly Compute\n\nFor applications run in Cloudflare Workers and Fastly Compute, install the NPM\nversion of this package instead of the JSR version.\n\n### Note for TypeScript Project\n\nIn `tsconfig.json`, the following `compilerOptions` must be set as such:\n\n- `moduleResolution`: `Bundler` or `NodeNext`\n- `skipLibCheck`: `true`\n\n## Language-enhancing Functions\n\n- [_try](https://jsr.io/@ayonli/jsext/doc/try/~/_try) Calls a function safely and\n  return errors when captured.\n- [func](https://jsr.io/@ayonli/jsext/doc/func/~/func) Declares a function along with\n  a `defer` keyword, inspired by\n  Golang.\n- [once](https://jsr.io/@ayonli/jsext/doc/once/~/once) Creates a function that performs\n  lazy initialization on the first call.\n- [wrap](https://jsr.io/@ayonli/jsext/doc/wrap/~/wrap) Wraps a function for decorator\n  pattern but keep its signature.\n- [mixin](https://jsr.io/@ayonli/jsext/doc/mixin/~/mixin) Declares a class that\n  combines all methods from the base classes.\n- [throttle](https://jsr.io/@ayonli/jsext/doc/throttle/~/throttle) Throttles function\n  calls for frequent access.\n- [debounce](https://jsr.io/@ayonli/jsext/doc/debounce/~/debounce) Debounces function\n  calls for frequent access.\n- [queue](https://jsr.io/@ayonli/jsext/doc/queue/~/queue) Handles tasks sequentially\n  and prevent concurrency conflicts.\n- [lock](https://jsr.io/@ayonli/jsext/doc/lock/~/lock) Provides mutual exclusion for\n  concurrent operations.\n- [chan](https://jsr.io/@ayonli/jsext/doc/chan/~/chan) Creates a channel that\n  transfers data across routines, even across multiple threads, inspired by\n  Golang.\n- [parallel](https://jsr.io/@ayonli/jsext/doc/parallel/~/default) Runs functions in\n  parallel threads and take advantage of multi-core CPUs, inspired by Golang.\n- [run](https://jsr.io/@ayonli/jsext/doc/run/~/default) Runs a script in a worker\n  thread and invokes its `default` function to collect the result.\n- [deprecate](https://jsr.io/@ayonli/jsext/doc/deprecate/~/deprecate) Marks a function as\n  deprecated and emit warnings when it is called.\n- [pipe](https://jsr.io/@ayonli/jsext/doc/pipe/~/pipe) Performs pipe operations\n  through a series of functions upon a value.\n\n## Subcategories\n\nEach of these modules includes specific functions and classes for their target\ncategories:\n\n- [archive](https://jsr.io/@ayonli/jsext/doc/archive/~) Collecting files into an\n  archive file, or extracting files from a archive file.\n- [array](https://jsr.io/@ayonli/jsext/doc/array/~) Functions for dealing with\n  arrays.\n- [async](https://jsr.io/@ayonli/jsext/doc/async/~) Functions for async/promise\n  context handling.\n- [bytes](https://jsr.io/@ayonli/jsext/doc/bytes/~) Functions for dealing with\n  byte arrays (`Uint8Array`).\n- [class](https://jsr.io/@ayonli/jsext/doc/class/~) Functions for dealing with\n  classes.\n  - [decorators](https://jsr.io/@ayonli/jsext/doc/class/decorators/~) Decorators\n    to validate input/output data and guarantee type safety at runtime.\n- [cli](https://jsr.io/@ayonli/jsext/doc/cli/~) (Experimental) Useful utility\n  functions for interacting with the terminal.\n- [collections](https://jsr.io/@ayonli/jsext/doc/collections/~) Additional\n  collection data types.\n- [dialog](https://jsr.io/@ayonli/jsext/doc/dialog/~) (Experimental)\n  Asynchronous dialog functions for both browsers and terminals.\n- [encoding](https://jsr.io/@ayonli/jsext/doc/encoding/~) Utilities for encoding\n  and decoding binary representations like hex and base64 strings.\n- [error](https://jsr.io/@ayonli/jsext/doc/error/~) Functions for converting\n  errors to/from other types of objects.\n- [event](https://jsr.io/@ayonli/jsext/doc/event/~) Functions for working with\n  events.\n- [filetype](https://jsr.io/@ayonli/jsext/doc/filetype/~) Functions to get file\n  types in different fashions.\n- [fs](https://jsr.io/@ayonli/jsext/doc/fs/~) Universal file system APIs for\n  both server and browser applications.\n- [hash](https://jsr.io/@ayonli/jsext/doc/hash/~) Simplified hash functions for\n  various data types.\n- [http](https://jsr.io/@ayonli/jsext/doc/http/~) Functions for handling HTTP\n  related tasks, such as parsing headers and serving HTTP requests.\n- [iterator](https://jsr.io/@ayonli/jsext/doc/iterator/~) Functions for dealing\n  with iterator objects.\n- [json](https://jsr.io/@ayonli/jsext/doc/json/~) Functions for parsing JSONs to\n  specific structures.\n- [math](https://jsr.io/@ayonli/jsext/doc/math/~) Functions for mathematical\n  calculations.\n- [module](https://jsr.io/@ayonli/jsext/doc/module/~) Functions for working with\n  JavaScript modules.\n- [net](https://jsr.io/@ayonli/jsext/doc/net/~) Functions for working with the\n  network.\n- [number](https://jsr.io/@ayonli/jsext/doc/number/~) Functions for dealing with\n  numbers.\n- [object](https://jsr.io/@ayonli/jsext/doc/object/~) Functions for dealing with\n  objects.\n- [path](https://jsr.io/@ayonli/jsext/doc/path/~) Platform-independent utility\n  functions for dealing with file system paths and URLs.\n- [reader](https://jsr.io/@ayonli/jsext/doc/reader/~) Utility functions for\n  reading data from various types of source into various forms.\n- [result](https://jsr.io/@ayonli/jsext/doc/result/~) (Experimental)\n  Introduces the `Result` pattern into JavaScript, inspired by Rust.\n- [runtime](https://jsr.io/@ayonli/jsext/doc/runtime/~) Utility functions to\n  retrieve runtime information or configure runtime behaviors.\n- [sse](https://jsr.io/@ayonli/jsext/doc/sse/~) Tools for processing Server-sent\n  Events requests and handling message events.\n- [string](https://jsr.io/@ayonli/jsext/doc/string/~) Functions for dealing with\n  strings.\n- [types](https://jsr.io/@ayonli/jsext/doc/types/~) The missing builtin classes\n  of JavaScript and utility types for TypeScript.\n- [ws](https://jsr.io/@ayonli/jsext/doc/ws/~) (Experimental) A unified\n  WebSocket server interface for Node.js, Deno, Bun and Cloudflare Workers.\n\n## Augmentation\n\nThis package supports augmenting some functions to the corresponding built-in\ntypes/namespaces, but they should only be used for application development,\ndon't use them when developing libraries.\n\n_NOTE: this feature is only available by the NPM package, they don't work by_\n_the JSR package._\n\nFor more details, please check\n[this document](https://github.com/ayonli/jsext/blob/main/augment/README.md).\n","readmeFilename":"README.md"}