{"_id":"@ai-mask/sdk","_rev":"15-21142497939b0c3d071aea28a13b47ec","name":"@ai-mask/sdk","dist-tags":{"latest":"0.9.0"},"versions":{"0.1.0":{"name":"@ai-mask/sdk","version":"0.1.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","dependencies":{"@ai-mask/core":"^0.1.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm run build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"> This is an alpha version","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.1.0","_integrity":"sha512-cJtzlaL3i4ZCwkSuUkW+x6rEClPM/at8R4Zob5GIwhGr2q6kPRsPb0qW5VfQkbpJvX9Y4pw1CQ0whRmxGSX4sA==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/ad907b1e3c6fb8f2431f70f4868891f0/ai-mask-sdk-0.1.0.tgz","_from":"file:ai-mask-sdk-0.1.0.tgz","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-cJtzlaL3i4ZCwkSuUkW+x6rEClPM/at8R4Zob5GIwhGr2q6kPRsPb0qW5VfQkbpJvX9Y4pw1CQ0whRmxGSX4sA==","shasum":"508b95fe0e21045e81030dc0f28c11dd588de9ab","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.1.0.tgz","fileCount":2,"unpackedSize":782,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEKWW8oWegvuEn+PsweHbcK5CYpKq0+BEoS9bjMitC7AiEAvzeDjhGeGDGsW0sJb8k5r8/LVzHJ+rlnqJp1HSrXvK0="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.0_1708985967262_0.8068578538747662"},"_hasShrinkwrap":false},"0.1.1":{"name":"@ai-mask/sdk","version":"0.1.1","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.1.1"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm run build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"> This is an alpha version","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.1.1","_integrity":"sha512-PUNdJ23rAeUGB0flywySdifzz3BhzFdAlgVSgpKmwGzjnmqjrPqYIV970xLrpq9gAL5FpUUAU++DgUMGfEKc9A==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/fe76eb2b6960ca2f6c07473530be458f/ai-mask-sdk-0.1.1.tgz","_from":"file:ai-mask-sdk-0.1.1.tgz","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-PUNdJ23rAeUGB0flywySdifzz3BhzFdAlgVSgpKmwGzjnmqjrPqYIV970xLrpq9gAL5FpUUAU++DgUMGfEKc9A==","shasum":"bccf14894875fea83c233cad13e0dbe1e749d977","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.1.1.tgz","fileCount":6,"unpackedSize":4909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHuuohkKO3x1/weE+FjjOpqRYUk8lazT+wivGoCQ3IEAiEAiMagq1SIEnP54aNfEMWV7Sul/xgOUd8uZytXspEzTQw="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.1_1708986237764_0.6670260260508394"},"_hasShrinkwrap":false},"0.1.2":{"name":"@ai-mask/sdk","version":"0.1.2","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.1.2"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm run build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"> This is an alpha version","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.1.2","_integrity":"sha512-pq3CM8/ZirVhDlaPSGvVarXqLXP0H16Rpu8WaYnYbjWIS5F+NGC4EtATKqWQlfQI7LmjUONyUz2k5IKUB63G2A==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/69c42cc17cde9458d8e4936af77bbad2/ai-mask-sdk-0.1.2.tgz","_from":"file:ai-mask-sdk-0.1.2.tgz","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-pq3CM8/ZirVhDlaPSGvVarXqLXP0H16Rpu8WaYnYbjWIS5F+NGC4EtATKqWQlfQI7LmjUONyUz2k5IKUB63G2A==","shasum":"ecc534d7e530a787a542849e8b011a74e846642f","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.1.2.tgz","fileCount":6,"unpackedSize":4909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+QwRq0yWN94rEjXaD+9b3PyOw/K5eoOOQ2bT88qL/VgIgfUV7xHOvVN6xId6iIUUfcV2+tWeIUN6mSb6j9fDwVPQ="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.1.2_1708987615805_0.5851630291586936"},"_hasShrinkwrap":false},"0.2.0":{"name":"@ai-mask/sdk","version":"0.2.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.2.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm run build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.2.0","_integrity":"sha512-zSBUghCM01AwaZmGzUbARuOQJCXGVdVWmtsG+l2qcSM03gM3E9sflajjEaYfu+mNxRr4P07CveleNqoPBsbdOQ==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/14b81211e949256ad8edf1b8a416279e/ai-mask-sdk-0.2.0.tgz","_from":"file:ai-mask-sdk-0.2.0.tgz","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-zSBUghCM01AwaZmGzUbARuOQJCXGVdVWmtsG+l2qcSM03gM3E9sflajjEaYfu+mNxRr4P07CveleNqoPBsbdOQ==","shasum":"df3af0a791b92faf7cc3e62972b71921473b2e18","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.2.0.tgz","fileCount":6,"unpackedSize":7843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGfPYpygTuehwUAF8zUtueNPC8wRPOOSW2zx1TRQsCeAiBL/UjpfmD3GFZfrMl1mW3ySoJhbISDw3TVHuzvLiREBA=="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.0_1709037414091_0.6524423698772377"},"_hasShrinkwrap":false},"0.2.1":{"name":"@ai-mask/sdk","version":"0.2.1","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.2.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm run build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.2.1","_integrity":"sha512-fvDdvRCQ41LFzU14PNLu8kUQmpVvZMiri1zgrmtYXQQoniSxl/f3Y1gGICUSXJ+gYoUKSWZQWeSP7ldj1NZ+MA==","_resolved":"/tmp/33b9dd55ee8dd517ea68a4dde06e0e0d/ai-mask-sdk-0.2.1.tgz","_from":"file:ai-mask-sdk-0.2.1.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-fvDdvRCQ41LFzU14PNLu8kUQmpVvZMiri1zgrmtYXQQoniSxl/f3Y1gGICUSXJ+gYoUKSWZQWeSP7ldj1NZ+MA==","shasum":"be672352355b402de2c83bbca03a50029495edf7","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.2.1.tgz","fileCount":6,"unpackedSize":7843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJIbvP/vIbvg2Xp/8IQpT1QzOcYwBp1AD9cdXoLpabiAiEA9WpO/+eIZPPMTd45FoNvWfCIJ4I2FpB3Ze1JcZ+ZZPU="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.2.1_1709038171688_0.6299921362755341"},"_hasShrinkwrap":false},"0.3.0":{"name":"@ai-mask/sdk","version":"0.3.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.3.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm run build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.3.0","_integrity":"sha512-sz0LuJb+hqQWqS4v0BpfpcEIVodYmNly3aTwR0EzmvtscMlJ2odIlVa7CCRx0EeVfPbkIDbSxvxyO8TP8h2Tmg==","_resolved":"/tmp/9919e4fcfdd3840ed361393bb0c59d89/ai-mask-sdk-0.3.0.tgz","_from":"file:ai-mask-sdk-0.3.0.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-sz0LuJb+hqQWqS4v0BpfpcEIVodYmNly3aTwR0EzmvtscMlJ2odIlVa7CCRx0EeVfPbkIDbSxvxyO8TP8h2Tmg==","shasum":"69832a24193064eab8b6a21b99bd102ca0ab0044","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.3.0.tgz","fileCount":6,"unpackedSize":7843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhjo7lK0yWd0Wvx5oSaKGD3Lzm4ImAkmXg1IQCKOVTCAiEAiE1iEIT21Rwj9iaLT7legLolgHEHG64SLdGmhsEFnUc="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.3.0_1709040607228_0.6463525067617806"},"_hasShrinkwrap":false},"0.4.0":{"name":"@ai-mask/sdk","version":"0.4.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.4.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.4.0","_integrity":"sha512-FT3+NI2/3qqlReJdf8Enjg+waVQad+Znyo2ITVkFDapPPCVaaaiAhF5jlm2XmixdArkEDO6EobV6FlSg4KSAfA==","_resolved":"/tmp/cf1d683cb4cd55edca2099f207e95f62/ai-mask-sdk-0.4.0.tgz","_from":"file:ai-mask-sdk-0.4.0.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-FT3+NI2/3qqlReJdf8Enjg+waVQad+Znyo2ITVkFDapPPCVaaaiAhF5jlm2XmixdArkEDO6EobV6FlSg4KSAfA==","shasum":"7ff78709fde55d62c34645abd3208287fb87cc6d","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.4.0.tgz","fileCount":6,"unpackedSize":8453,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOGnBt1R3bI7hStqVupjaszbRFNa0W9kKAeJdrFHFG/AiApfH1KqlyQ87ZliVNCEP9v+kO2FWtxpySBnFFmDLmaWQ=="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.0_1709045199714_0.9356321346986776"},"_hasShrinkwrap":false},"0.4.1":{"name":"@ai-mask/sdk","version":"0.4.1","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.4.1"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.4.1","_integrity":"sha512-jBle3kVyho/CyjBs6jeipGsqbPHmw5sAs7QFx7/N5+DrCFrd0pNOcHkrYuoO+4bO/gDnPA7zeRoRn1+RvVVXqQ==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/e1a27a236ecd9605089708e493d0f782/ai-mask-sdk-0.4.1.tgz","_from":"file:ai-mask-sdk-0.4.1.tgz","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-jBle3kVyho/CyjBs6jeipGsqbPHmw5sAs7QFx7/N5+DrCFrd0pNOcHkrYuoO+4bO/gDnPA7zeRoRn1+RvVVXqQ==","shasum":"52769d30a369ef7f52f65da470e82ddde3220d18","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.4.1.tgz","fileCount":6,"unpackedSize":8453,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl8n+rLCnCpGtATNeq9spvIrigt5mDVotLhDWuGBlyWgIhAOatLpuLVPdmqvRF4Y1omE02KPOD7oCyTyi7DIwo5lnb"}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.4.1_1709046218661_0.6348942351553799"},"_hasShrinkwrap":false},"0.5.0":{"name":"@ai-mask/sdk","version":"0.5.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.4.1"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.5.0","_integrity":"sha512-CUFGAY5LKRDeiDQM24tEA42M14yspBwGlRj1bbK2egNIOudYIdp4po9KicM38iCi/6NH+aUvPn59aQVWD8mj7g==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/903d1f18bfbc3dd400870965c304e46d/ai-mask-sdk-0.5.0.tgz","_from":"file:ai-mask-sdk-0.5.0.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-CUFGAY5LKRDeiDQM24tEA42M14yspBwGlRj1bbK2egNIOudYIdp4po9KicM38iCi/6NH+aUvPn59aQVWD8mj7g==","shasum":"fece2999d8eebefb222086b28e66d7201cb84428","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.5.0.tgz","fileCount":6,"unpackedSize":8525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTyZk7Nv9vJ0Bnv68gfd9pbkyI2iZ5fSjhh9PNpkBLvAiBXuTUOnHzz+p0SS4zrLGv+upD01ucNrle5UCDg/mMf2w=="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.5.0_1709128294965_0.5313614047905195"},"_hasShrinkwrap":false},"0.6.0":{"name":"@ai-mask/sdk","version":"0.6.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.5.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.6.0","_integrity":"sha512-9NIcF/eck3AttffYNMeZ8mT3/w9jHRe71qZ4whXmCl9MTOmgLZgo2ELRGILlAqd+vgT0h2Q/Za5w9SCQW+o9Lg==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/5bc09b271e6a451528ec30b052c30511/ai-mask-sdk-0.6.0.tgz","_from":"file:ai-mask-sdk-0.6.0.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-9NIcF/eck3AttffYNMeZ8mT3/w9jHRe71qZ4whXmCl9MTOmgLZgo2ELRGILlAqd+vgT0h2Q/Za5w9SCQW+o9Lg==","shasum":"c7b0a2972d27ec7fe785e451f8ab86079bb35336","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.6.0.tgz","fileCount":6,"unpackedSize":8525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElpaJsuM2xzdBs1pzTrDSeudxw/I2SMJQRmivRfz7NjAiEA/NwQXh7eNxyt+62VyV52xNscUVuRirxtQkLNS65vals="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.6.0_1709149328131_0.2651788726148745"},"_hasShrinkwrap":false},"0.7.0":{"name":"@ai-mask/sdk","version":"0.7.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.5.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.7.0","_integrity":"sha512-an3aDzt5cxaY32wKbGmTWoBK1wI6jRofPLIdX7Ru0+d1U6FFMP7vm8hU51P0KCwEIRVdnJc5RcWdD9hCtTBiww==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/529fb29de6dcb35d1baf0e8687526858/ai-mask-sdk-0.7.0.tgz","_from":"file:ai-mask-sdk-0.7.0.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-an3aDzt5cxaY32wKbGmTWoBK1wI6jRofPLIdX7Ru0+d1U6FFMP7vm8hU51P0KCwEIRVdnJc5RcWdD9hCtTBiww==","shasum":"011f544d09eebbf6373713ab41fbec7610f8534e","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.7.0.tgz","fileCount":6,"unpackedSize":14405,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbV/dSuo6NkPcXVJLBCyh9jzVHeldoSdCXMRqoKSM4OAiBm85MV1LMoV3Gg9lGVv3Dzr7fru5E8R1QcRIuc5MmPCA=="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.0_1710928456056_0.6590861078238917"},"_hasShrinkwrap":false},"0.7.1":{"name":"@ai-mask/sdk","version":"0.7.1","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.6.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.7.1","_integrity":"sha512-pDIlXTJ1HjZhnyd86AW9ez6yFABI0HTkSMCnaMBZI0M7INfHdkjvEgw/uksMWzqIknorPggdUPpRz60GZK0lEQ==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/477c18905780cd24df21e16a16a82a3b/ai-mask-sdk-0.7.1.tgz","_from":"file:ai-mask-sdk-0.7.1.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-pDIlXTJ1HjZhnyd86AW9ez6yFABI0HTkSMCnaMBZI0M7INfHdkjvEgw/uksMWzqIknorPggdUPpRz60GZK0lEQ==","shasum":"7345acacbe5a8cdceb4de74f8472d35b033aa001","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.7.1.tgz","fileCount":6,"unpackedSize":14405,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBwHBgks2wQkKyb+EiAnhAu8Y71oDJ0hOMEpHtvTevl9AiEAq/WDJjK6KA4xOpnnmQaORhbe0jCWVvDBcLwSH3C4is4="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.1_1710930504982_0.4420228517393514"},"_hasShrinkwrap":false},"0.7.2":{"name":"@ai-mask/sdk","version":"0.7.2","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.6.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.7.2","_integrity":"sha512-GkQndLBEDkGqUh7cNVNSGSKouWSp/ljNg5j+Nds97AgMWSngK3tohvfx4vfrIIYXA1AurCNfJuhX6ipGOFk0EA==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/4fd297839714949a895fdfcc755113c1/ai-mask-sdk-0.7.2.tgz","_from":"file:ai-mask-sdk-0.7.2.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-GkQndLBEDkGqUh7cNVNSGSKouWSp/ljNg5j+Nds97AgMWSngK3tohvfx4vfrIIYXA1AurCNfJuhX6ipGOFk0EA==","shasum":"a34bb4de16a6c13af5b57e8490396d156d0bc6d2","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.7.2.tgz","fileCount":6,"unpackedSize":15007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCliUsJuJLCAg2n/4oNFiWW1upUPbrB4nb/bs/dqGd/AiAnF4pEjjywY1b8r/Ln6XyAp1U/dRqTx5H9gNVpQJ0LRQ=="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.2_1710932577400_0.9617060355728113"},"_hasShrinkwrap":false},"0.7.3":{"name":"@ai-mask/sdk","version":"0.7.3","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.6.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.7.3","_integrity":"sha512-re0blhdVGnQ4RxDI4oLrjBLHI3FXDszm6AiGQvNPPjCi1jVUdwLLnqu/EOF9Eu9wNif86IEpDoVt2Q2VZI/iZg==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/ba1e6003a882ec2c6e5affdd3244e84b/ai-mask-sdk-0.7.3.tgz","_from":"file:ai-mask-sdk-0.7.3.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-re0blhdVGnQ4RxDI4oLrjBLHI3FXDszm6AiGQvNPPjCi1jVUdwLLnqu/EOF9Eu9wNif86IEpDoVt2Q2VZI/iZg==","shasum":"75e08cd94dff39d0d69479c40c5f5eedb46b8db2","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.7.3.tgz","fileCount":6,"unpackedSize":15017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4X2nvRZ/XvBRoyMKXj+yoLbiM/p8nt0usqhqN4VihCAiEA6XGycIltRlkLS4RBfXLims3Ydp6LfHz+ew0LohT7MRs="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.7.3_1710934209723_0.8193934653453732"},"_hasShrinkwrap":false},"0.8.0":{"name":"@ai-mask/sdk","version":"0.8.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.7.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.8.0","_integrity":"sha512-Jy9Nfv/LaD6b8YrfbC4HIeFTmFFfA1qgk8dW8wqNLjQ8M3895f83122fWZPJCj4BHHHSgQgQ3d9AVWbTdHIehA==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/4dacb386883d02310647c4169eafea9c/ai-mask-sdk-0.8.0.tgz","_from":"file:ai-mask-sdk-0.8.0.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Jy9Nfv/LaD6b8YrfbC4HIeFTmFFfA1qgk8dW8wqNLjQ8M3895f83122fWZPJCj4BHHHSgQgQ3d9AVWbTdHIehA==","shasum":"ceff1afd68abe35fd419d6880f300ab215ec1aff","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.8.0.tgz","fileCount":6,"unpackedSize":16207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIES91gIxJMwIH6TVM/fBh9Nvox8XIv3VxtRpnD59i4pEAiBFx4zDSUAkGlIUcpKo5zyKJ0eDROapbYEd35rtno/JrA=="}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.8.0_1711205031026_0.683019128981047"},"_hasShrinkwrap":false},"0.9.0":{"name":"@ai-mask/sdk","version":"0.9.0","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"type":"module","source":"src/index.ts","main":"dist/index","types":"dist/index","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"],"dependencies":{"@ai-mask/core":"^0.7.0"},"devDependencies":{"@types/chrome":"^0.0.261","rimraf":"^5.0.5","tsup":"^8.0.2"},"scripts":{"dev":"pnpm build --watch","build":"tsup ./src/index.ts --format esm,cjs --dts","clean":"rimraf ./dist"},"description":"**Bring local inference into your app !**","bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"homepage":"https://github.com/pacoccino/ai-mask#readme","_id":"@ai-mask/sdk@0.9.0","_integrity":"sha512-5XRtzzjrfDD5h17t1fmaZuaKDjY5Rd8I1enjpOOZehDjVag/kAlMPpU3jNAbCq0xF5dVFs2q+QSpyzDfvkLyOg==","_resolved":"/private/var/folders/bn/jqqv8rd91qz5mk_79_hyrsl00000gn/T/7efde0e1a55394cf4f7896e835a8b3cf/ai-mask-sdk-0.9.0.tgz","_from":"file:ai-mask-sdk-0.9.0.tgz","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-5XRtzzjrfDD5h17t1fmaZuaKDjY5Rd8I1enjpOOZehDjVag/kAlMPpU3jNAbCq0xF5dVFs2q+QSpyzDfvkLyOg==","shasum":"89d3042c6e91b10b1751f936b47770247e2a4880","tarball":"https://registry.npmjs.org/@ai-mask/sdk/-/sdk-0.9.0.tgz","fileCount":6,"unpackedSize":17258,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC58OCiqzu8C3F7dhD67m0SgBLB0jOf0jwu4Hrwh6HDagIhAMMnrMBSh5XQozZZL4KCTSJNrf9H2rh+9QRbqoBst/2H"}]},"_npmUser":{"name":"pacoccino","email":"pac@opac.me"},"directories":{},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.9.0_1712652184539_0.814973847946266"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-26T22:19:27.184Z","0.1.0":"2024-02-26T22:19:27.406Z","modified":"2024-04-09T08:43:04.846Z","0.1.1":"2024-02-26T22:23:57.917Z","0.1.2":"2024-02-26T22:46:55.940Z","0.2.0":"2024-02-27T12:36:54.315Z","0.2.1":"2024-02-27T12:49:31.839Z","0.3.0":"2024-02-27T13:30:07.437Z","0.4.0":"2024-02-27T14:46:39.885Z","0.4.1":"2024-02-27T15:03:38.812Z","0.5.0":"2024-02-28T13:51:35.125Z","0.6.0":"2024-02-28T19:42:08.321Z","0.7.0":"2024-03-20T09:54:16.229Z","0.7.1":"2024-03-20T10:28:25.173Z","0.7.2":"2024-03-20T11:02:57.558Z","0.7.3":"2024-03-20T11:30:09.905Z","0.8.0":"2024-03-23T14:43:51.200Z","0.9.0":"2024-04-09T08:43:04.685Z"},"maintainers":[{"name":"pacoccino","email":"pac@opac.me"}],"description":"**Bring local inference into your app !**","homepage":"https://github.com/pacoccino/ai-mask#readme","repository":{"type":"git","url":"git+https://github.com/pacoccino/ai-mask.git"},"bugs":{"url":"https://github.com/pacoccino/ai-mask/issues"},"readme":"# AI-Mask SDK\n\n**Bring local inference into your app !**\n\n[Download extension](https://chromewebstore.google.com/detail/lkfaajachdpegnlpikpdajccldcgfdde) | [Demo App](https://pacoccino.github.io/ai-mask/) | [Home Page](https://github.com/pacoccino/ai-mask/blob/main/packages/extension/icons/icon-128.png) | [Quick Start](#quick-start)\n\n[![npm version](https://badge.fury.io/js/@ai-mask%2Fsdk.svg)](https://badge.fury.io/js/@ai-mask%2Fsdk)\n\n> This is an alpha version\n\nEasily support AI-Mask in your AI apps, and bring free and private local-inference to your users ! Do not store API keys again, and get rid of your backend and server costs. \n\n**Note**: App users must have the extension installed for this SDK to work on web pages\n\n## Quick Start\n\n### Install package:\n```shell\nnpm install -S @ai-mask/sdk\n```\n\n### Run inference:\n```typescript\nimport { AIMaskClient } from '@ai-mask'\n\nconst messages = [{ role: 'user', content: 'What is the capital of France ? ' }]\n\nconst aiMaskClient = new AIMaskClient()\nconst response = await aiMaskClient.chat(\n\t{ messages },\n  { modelId: 'gemma-2b-it-q4f32_1' },\n)\n```\n\n\n## Integration examples\n\n- [demo-app code](/examples/demo-app/)\n- [chatbot-ui PR](https://github.com/pacoccino/chatbot-ui/pull/1/files)\n- [fully-local-pdf-chatbot PR](https://github.com/jacoblee93/fully-local-pdf-chatbot/pull/19)\n\n## API\n\n### AIMaskClient\n\n```typescript\nimport { AIMaskClient } from '@ai-mask/sdk'\n\n// Check if extension is installed\nAIMaskClient.isExtensionAvailable(): boolean\n\n// Instanciate\nconst aiMaskClient = new AIMaskClient({ name?: string }) // name of your app\n\n// List available models\nasync aiMaskClient.getModels(): Promise<Model[]>\n\ntype Model {\n    id: string\n    name: string\n    task: string\n}\n\n// Chat with an OpenAI-like request\nasync aiMaskClient.chat(params: ChatCompletionParams, options: InferOptions): Promise<string | ReadableStream<string>>\n\ntype ChatCompletionParams = {\n    messages: [{ role: 'user' | 'assistant', content: string }]\n    max_tokens: number\n    temperature: number\n}\ntype InferOptions = {\n    modelId: string\n    stream?: boolean\n}\n\n// Translate text from one language to another\nasync aiMaskClient.translate(params: TranslationParams, options: InferOptions): Promise<string>\n\ntype TranslationParams = {\n    inputText: string\n    sourceLang: string\n    destLang: string\n}\n\n// Create embeddings\nasync aiMaskClient.featureExtraction(params: FeatureExtractionParams, options: InferOptions): Promise<number[][]>\n\ntype TranslationParams = {\n    texts: string[]\n    pooling?: 'none' | 'mean' | 'cls'\n    normalize?: boolean\n}\n```\n\nFor `sourceLang` and `destLang`, see [languages](/packages/core/src/config/translation.ts)\n\n### Usage in Workers\n\nIf you need to use AIMask from a Web Worker, some additional steps are required.\n\nPlease check the [demo app with worker](/examples/demo-app-worker/src) for an example implementation.\n\n\n- In the worker, use `async AIMaskClient.getWorkerClient()` to get an AIMaskClient instance.  \n- In the main thread, *just* after initializing your worker and having an AIMaskClient instance, call `aiMaskClient.providerWorkerPort(worker)`\n\n```typescript\n// main.ts\nconst aiMaskClient = new AIMaskClient()\nconst worker = new Worker(\n    new URL('./worker.ts', import.meta.url), \n    {\n        type: 'module',\n    });\naiMaskClient.provideWorkerPort(worker)\n```\n\n```typescript\n// worker.ts\nconst aiMaskClient = await AIMaskClient.getWorkerClient()\n```","readmeFilename":"README.md","keywords":["ai","artificial intelligence","web-llm","transformers.js","chrome extension","ai"]}