{"_id":"@candlecorp/wick","_rev":"8-a25cdc181729df0354679aa774bfdcc4","name":"@candlecorp/wick","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.1.0","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","@types/debug":"^4.1.9","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"file:../wasmrs-js"},"devDependencies":{"@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.1.0","gitHead":"f6d8ec1680cbdf43aec9151086bef985377fe2f3","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-NeZ9mhEscZiJ+klnIT1AFHIrYwcYlYCGd2gyhxjoYbWdIU2/cM0y7BNXfWreVh287XKuEe8+JxYpzBgnoWzV7g==","shasum":"c949de2c45809826e92384af1ce876c1fdcbf619","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.1.0.tgz","fileCount":18,"unpackedSize":41554124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+/nOjPD1IbUfax2b1mi7qmA4HkYByBz3SQmEQISy7bAiBskGAfEruyxaQApRJv2biFf4vaRNxA6jumBbynCH9HLQ=="}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.1.0_1697131886321_0.8874643172452188"},"_hasShrinkwrap":false},"0.1.1":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.1.1","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.2.3"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.1.1","gitHead":"2167948e8ba0964edac12adca51eeabfb73a756d","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-lnL5EA4kokvAQUpNIcBRv7FURoySnU5ZDQdmd2OBoZU8z4aF3L1vh912FFj+0Lb4Lwz6ttnjR2n7BMFcFCH1nA==","shasum":"eab1e976a2a60c4b3b688c495e529810e9debe73","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.1.1.tgz","fileCount":37,"unpackedSize":57237,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvNTcD3fB1LFzjaoowU1bNsC/N/AlVwiOLubB6A2hM8wIgV2W5a6Rb/gEryFZm22/537JLQomWF210ZgXebhlQfGM="}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.1.1_1697132781156_0.5461092096819253"},"_hasShrinkwrap":false},"0.1.2":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.1.2","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.2.4"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.1.2","gitHead":"e49e57ed96fe5aa48177b9b35c1953ce274f7e1c","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-jtrIQK6kykcTBVdQ7sJJ6++tb9jtNX0YjF1+ns64Y7/BkzRKAKzxDc3M0p2cU3o3ffo2vCO/9KeumZZ1X3ox3Q==","shasum":"93091b842c3948d52d071d22dfe1e178f1b9a2d1","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.1.2.tgz","fileCount":37,"unpackedSize":57237,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB6OvfS6agldJ9d91W/CLXurYRxZLcCZADjDmB5udESgIhAJIwZcKkmBZfmtwhefNiOy0P1cwaXMNVSiJXgQu/nIl2"}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.1.2_1697134565727_0.7154756733802496"},"_hasShrinkwrap":false},"0.2.0":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.2.0","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.2.4"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.2.0","gitHead":"12730c7ce72e20bd6bd4108a01e8215b0b333852","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-L25sZEzRa308zLi6HzoTarJPgEhGM+r5IuRwcj/Mw9a3jx+X37/3snaOG1cARt/bpcqY1x1wEawBu1qZcv2gTA==","shasum":"c2523451df772eb6ef9c8b7016afd922735dfb54","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.2.0.tgz","fileCount":37,"unpackedSize":59096,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv75/4eVGFfKuQ2ZrTLP61JMMmGl0jcTb9WxvIxspGqAIhAPrDokHXBdhkhThP4Cv+YY6ru9n/QUTvcsznMsTR5+D9"}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.2.0_1697138763826_0.27427129661636207"},"_hasShrinkwrap":false},"0.2.1":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.2.1","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.2.4"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.2.1","gitHead":"cd54172317287812f6f52755e78e42940ab3b270","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-z66WJDw/thYX20sBoBtqPE7ozm51aGWSFiA6NsHv3PQ9UaAXSyhfavA5BmRp7Yyjy/RXPA/Hl38Ev0BprZUm+w==","shasum":"69b978f62ef8201aa913219df13f3675849a7ee0","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.2.1.tgz","fileCount":36,"unpackedSize":58613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGboPDUDOpLM0qcj4IOBdr7k26ATBMvZV7jD6bb4VhPAiEA21qHXcYTF1QQcquGsPO23Y6TYhFi1NhtSIdZc7UHYxM="}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.2.1_1697139119761_0.20760706448591515"},"_hasShrinkwrap":false},"0.2.2":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.2.2","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.2.4"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.2.2","gitHead":"1e34168b87c0abe6896c3bb5730f5d87b995cca4","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-/c90iwyL/b66GYDrgaIGq7p8+zxQL1Wn8lflJNLSoub+wpi4DbAyKKLdRn3XBHVIaKuyfwfLjIKqrS/gOGJjNg==","shasum":"ed54660f657a7e4e7c893a9386ef5c0e24e8ab91","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.2.2.tgz","fileCount":36,"unpackedSize":58385,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4DvGxBrdV1pi0CAg7Ah06qowvpZpoGh4sUcjPluiJwAiB7coHRb9KcgYhlMz5w1nyfQWCsaQ5PZ5V1Uv6J9JmKrQ=="}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.2.2_1697548602431_0.780284263883402"},"_hasShrinkwrap":false},"0.3.0":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.3.0","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.0.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.3.0"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.3.0","gitHead":"1e3f4e633d271566ac9f2157f3b8b2b8453e8272","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-mD2ImZ2w8aAxpWhPcseRD7XgeqMJseJu/W8/1/m4ZHjHVZ6p9SLydK1cdo97qFsyUKkU5nVk64s/WRWgy2E3hw==","shasum":"3269acf550a0ead790f0d55c288df3719f7140f9","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.3.0.tgz","fileCount":41,"unpackedSize":65907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9f55hCBJCnBPgUig9FWQxbo+K3wgo2zzqu+Klr//RVwIgYKvdVHWieaSn4pC7PcYfkcUWX36GNaWI2S8FIkjcyMo="}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.3.0_1698953132857_0.035935608330019964"},"_hasShrinkwrap":false},"0.3.1":{"name":"@candlecorp/wick","description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","version":"0.3.1","scripts":{"prepublish":"npm run build","test":"NODE_OPTIONS=--experimental-vm-modules DEBUG='wick*,wasmrs*' jest --coverage --detectOpenHandles","watch:test":"NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage","build":"tsc ","watch":"tsc --watch"},"engines":{"node":">=0.19.0"},"type":"module","source":"src/index.ts","main":"./dist/src/index.js","dependencies":{"@candlecorp/rsocket-adapter-rxjs":"^0.1.1","@msgpack/msgpack":"^3.0.0-beta2","debug":"^4.3.4","rsocket-core":"^1.0.0-alpha.3","rsocket-messaging":"^1.0.0-alpha.3","rxjs":"^7.8.1","wasmrs-js":"^0.3.1"},"devDependencies":{"@types/debug":"^4.1.9","@jest/globals":"^29.7.0","@types/jest":"^27.0.3","@types/node":"^20.7.2","@typescript-eslint/eslint-plugin":"^6.7.3","@typescript-eslint/parser":"^6.7.3","eslint":"~8.5.0","eslint-plugin-import":"~2.25.3","eslint-plugin-prettier":"^4.0.0","jest":"^29.7.0","jest-config":"^29.7.0","jest-runner-eslint":"^2.1.2","prettier":"^2.5.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"~4.5.4"},"_id":"@candlecorp/wick@0.3.1","gitHead":"7bf7f3bffbfc0aeca94f8698fb95d720028860b3","types":"./dist/src/index.d.ts","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-PXbeMZB15VMelOMcJ3LXJedxg06qpiIWIxmIWJMn1nRm9CUVRiTbxYNVwLDyrY2NJxH5Vq4pp3WxMRvrZHnnMw==","shasum":"072354c08c482dcb84130e6860306e225c6588d7","tarball":"https://registry.npmjs.org/@candlecorp/wick/-/wick-0.3.1.tgz","fileCount":41,"unpackedSize":65884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCziZTpOx8P+D3LMDFWXwo5pBCfNftT3iN7/psBH90BsgIhAI9k8lH5zsFhvAhuLbQtEYBOu6dAaQ3jNG8+V63U5oqG"}]},"_npmUser":{"name":"jsoverson","email":"jsoverson@gmail.com"},"directories":{},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wick_0.3.1_1698965664226_0.9815464082436192"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-12T17:31:26.320Z","0.1.0":"2023-10-12T17:31:26.872Z","modified":"2023-11-02T22:54:24.661Z","0.1.1":"2023-10-12T17:46:21.312Z","0.1.2":"2023-10-12T18:16:05.935Z","0.2.0":"2023-10-12T19:26:04.272Z","0.2.1":"2023-10-12T19:31:59.959Z","0.2.2":"2023-10-17T13:16:42.880Z","0.3.0":"2023-11-02T19:25:33.105Z","0.3.1":"2023-11-02T22:54:24.466Z"},"maintainers":[{"name":"jsoverson","email":"jsoverson@gmail.com"}],"description":"A JavaScript implementation of a Wick host to run WebAssembly and wick components in JavaScript environments","license":"Apache-2.0","readme":"<!-- PROJECT LOGO -->\n<br />\n<div align=\"center\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" width=\"50%\" srcset=\"https://github.com/candlecorp/.github/blob/main/assets/wick_logo_light@.5.png?raw=true\">\n    <img alt=\"wick logo\" width=\"50%\" src=\"https://github.com/candlecorp/.github/blob/main/assets/wick_logo.png@.5.png?raw=true\">\n  </picture>\n\n  <p align=\"center\">\n    A functional-reactive framework for WebAssembly components that run on the server and client.\n  </p>\n</div>\n\n\n\n# wick-js\n\nJavaScript implementation of a Wick host to run WebAssembly components.\n\nWick's WebAssembly components produce rxJS observables and can be used to delegate compute-intensive tasks easily to workers.\n\n## Demo/Examples\n\nOnline demos of Wick in action:\n\n- [Text generation](https://wasm.candle.dev/llama2)\n- [Text redaction](https://wasm.candle.dev/redact)\n- [Object detection](https://wasm.candle.dev/yolo)\n\nPublic repository of component examples:\n\n- [Wick Components](https://github.com/candlecorp/wick-components/tree/main/components)\n\nWick's example directory:\n\n- [Wick examples](https://github.com/candlecorp/wick/tree/main/examples)\n\n\n## Installation\n\n```bash\n$ npm install @candlecorp/wick\n```\n\n## Usage \n\nUsage involves delegating to a worker to avoid holding up the main thread. The `wasmrs-js` package includes [ready-made workers](https://unpkg.com/browse/wasmrs-js@0.2.4/dist/) \nor you can create your own from the module files themselves if it works better for your environment. It can be as simple as a one-liner to make your own worker in your UI framework of choice ([example](https://github.com/candlecorp/wasm.candle.dev/blob/main/ui/src/lib/component-worker.js)).\n\n```ts\nimport { from } from 'rxjs';\nimport { Packet, Wick } from '@candlecorp/wick';\nimport { decode, encode } from '@msgpack/msgpack';\nimport { wasi } from 'wasmrs-js';\n\nconst wasiOpts: wasi.WasiOptions = {\n  version: wasi.WasiVersions.SnapshotPreview1,\n  preopens: {\n    '/': 'opfs:/',\n  },\n  stdin: 0,\n  stdout: 1,\n  stderr: 2,\n};\n\nconst component = await Wick.Component.WasmRs.FromResponse(\n  await fetch('component.wasm'),\n  {\n    workerUrl: new URL('path-to/worker.js'),\n    wasi: wasiOpts,\n  }\n);\n\nconst instance = await component.instantiate({\n  config: {\n    /* any component configuration necessary*/\n  },\n});\n\nconst stream = from([\n  new Packet('left', encode(42)),\n  new Packet('right', encode(32)),\n]);\n\ninstance.invoke('add', stream).subscribe({\n  next(packet) {\n    if (!packet.data) {\n      return;\n    }\n\n    const value = decode(packet.data);\n    console.log({ value });\n  },\n});\n```\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}