{"_id":"openai-partial-stream","_rev":"9-e0a82f75b5d29282f582abf560de0502","name":"openai-partial-stream","description":"- Convert a **stream of token** into a **parsable JSON** object before the stream ends. - Implement **Streaming UI** in **LLM**-based AI application. - Leverage **OpenAI Function Calling** for early stream processing. - Parse **JSON stream** into distinct","dist-tags":{"latest":"0.3.9"},"versions":{"0.3.0":{"name":"openai-partial-stream","version":"0.3.0","author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.0","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"dist":{"shasum":"301e6c09cd2ca3639464b5b4b29f186562d4ccb4","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.0.tgz","fileCount":32,"integrity":"sha512-3BStoV3BXuT9TWETgR4YvUoLoOz2wFrRKeX0gophFs+5jAN89ybQsJQO9bUMUTLgIdMdfHDvU+XdpiuNp+56Ow==","signatures":[{"sig":"MEQCIGcx/BvxD3gJJTLIauEntLfLqW+tlzO7cMUs4F/OnuM3AiAREHB80I5JEuo6nMHKIRtNmf4AVnAxFBid+Of56ut1RA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42051},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"f575618eeddfa1bd9ca02140fe456a3cc0aed10c","private":false,"scripts":{"dev":"npm run build -- --watch","build":"tsup src/**/*.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"_npmVersion":"9.8.1","description":"Turn a stream of token into a parsable JSON object as soon as possible.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2","@types/node":"^20.6.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.0_1695895545298_0.3526776435477115","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"openai-partial-stream","version":"0.3.1","author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.1","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"dist":{"shasum":"6d72a6957de39314d10efc1336d02fb0720bee5b","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.1.tgz","fileCount":32,"integrity":"sha512-5/PugX661r9ry1VKk/f1Emve/CPg1OiUXJaxuFB6WxQTd5p3yZU/0rs231BQHTX2zqrPpbFBHSEltY2qd5aqAA==","signatures":[{"sig":"MEUCIQCu+W0OIyif7GxaOBgbJ/tOplPKqoZUkm7CO4CkqxnJQwIgfrpdlJiMyY8qJ3+WDZoiJxcAJ222EsXBO10KBdrTVTo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41829},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"7114c9413bdfb76155aaa06389d20fcc15a9992e","private":false,"scripts":{"dev":"npm run build -- --watch","build":"tsup src/**/*.ts --format esm,cjs --dts --clean"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"_npmVersion":"9.8.1","description":"Turn a stream of token into a parsable JSON object as soon as possible.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.2.2","@types/node":"^20.6.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.1_1695928801403_0.6250011359681442","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"openai-partial-stream","version":"0.3.2","author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.2","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"dist":{"shasum":"b2e162f3b83a8deee6c70260f50841fc6b24ca56","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.2.tgz","fileCount":32,"integrity":"sha512-Auh6sZFRQG6V77x7ukQkIbeYeKs4WpCsfYXABGP81i3T25JSnSglHtwKfaJ5ImP9mV8jt81FarA8s+wBNRjqTA==","signatures":[{"sig":"MEYCIQCDS4AZsb/7ElhGKhxNT4Mm84FY7KL2zEj5SNwsLfIHEQIhAIz33MQFzRRAsWjEQNWWzQTSPtYyT/F6YC1AjifyLpZ6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42044},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"b750a443473e55daecd8377660c1bf17ea2c85a1","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"_npmVersion":"9.8.1","description":"Turn a stream of token into a parsable JSON object as soon as possible.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.2_1696091796001_0.6107815636662011","host":"s3://npm-registry-packages"}},"0.3.3":{"name":"openai-partial-stream","version":"0.3.3","author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.3","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"dist":{"shasum":"2321509bb433064ee7fc7133b696e937c0d013ad","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.3.tgz","fileCount":32,"integrity":"sha512-35v7elEy6/Vw+KDyFqER2bYMdcsBVfE/gsQ/X+nQazhpSyaLtGWJt4YtfmdX8+lO0jNFhh0coZKdu1VF8ad8ew==","signatures":[{"sig":"MEQCIHqcgj5mmX16Ro419bhb30HFQt2a2bi0wzR+n00K7Va9AiAiFaLRs5wlv4/8Kvw8b4ZPPU2WEBUYUv4rMmPBziJp4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42635},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"f892a56ffdf8ae88e6aaa0999aacee1fee2e173a","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","format":"npx prettier --write src/*.ts","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"_npmVersion":"9.8.1","description":"Turn a stream of token into a parsable JSON object as soon as possible.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.3_1696182327462_0.2953563247896158","host":"s3://npm-registry-packages"}},"0.3.4":{"name":"openai-partial-stream","version":"0.3.4","author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.4","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"dist":{"shasum":"84e96de86eb0d0bf12c8ea992809c2f49f016f6c","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.4.tgz","fileCount":32,"integrity":"sha512-nva4fS1C2YOuz/nqBgvmWG8+LWf6LzYva1G8EkGvI4NrmRP9qmbHIHz2JVZ8k6xUUDDvz0KcCFpTCMX4veTyiA==","signatures":[{"sig":"MEUCIQCg+ek4dox1Hx1us0pJUrg/ejcxIUUPD+l5y9Tw/1PHxwIgSm4h87QaBvXJOy7eJchOOrtWbxeVx5LlmUN7EMDYsig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43033},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"3ce18682b377e4d83b7335752136cb39afa98428","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","format":"npx prettier --write src/*.ts","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"_npmVersion":"9.8.1","description":"Turn a stream of token into a parsable JSON object as soon as possible.","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.4_1696288615866_0.9811474023737596","host":"s3://npm-registry-packages"}},"0.3.5":{"name":"openai-partial-stream","version":"0.3.5","keywords":["stream","tokens","openai","json-parser","json-parsing","token-passing","ai-app","gpt-3","openai-api","gpt-4","llm","chatgpt","chatgpt-api","openai-function-calling","llm-apps","streaming-ui","blocking-ui"],"author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.5","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"homepage":"https://github.com/st3w4r/partial-stream#readme","bugs":{"url":"https://github.com/st3w4r/partial-stream/issues"},"dist":{"shasum":"cc66f0a49f119149eeab3bb1d7dc3a4f96217f49","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.5.tgz","fileCount":32,"integrity":"sha512-AseS78RT+2eYAFswuvvimDA6RtHE6FKkL8qNOLhxTBSCfXuVxi5fqigtQcEEAoPLIiEDYAhCwtiqil8zxfmPHw==","signatures":[{"sig":"MEYCIQD1mCC2TyO34FRoYOuLF2CLPTKQJowkGWh2lzjTmcZCjAIhAK7GWcq7/2Yyzate7K9t9MsweFumPKHUlk8xEsLC6Sla","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43925},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"f7e7644e2198703046f54404fce6e3c4fe294ce9","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","format":"npx prettier --write src/*.ts","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"repository":{"url":"git+https://github.com/st3w4r/partial-stream.git","type":"git","directory":"packages/openai-partial-stream"},"_npmVersion":"9.8.1","description":"- Convert a **stream of token** into a **parsable JSON** object before the stream ends. - Implement **Streaming UI** in **LLM**-based AI application. - Leverage **OpenAI Function Calling** for early stream processing. - Parse **JSON stream** into distinct","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.5_1696426471389_0.4420679617231704","host":"s3://npm-registry-packages"}},"0.3.6":{"name":"openai-partial-stream","version":"0.3.6","keywords":["stream","tokens","openai","json-parser","json-parsing","token-passing","ai-app","gpt-3","openai-api","gpt-4","llm","chatgpt","chatgpt-api","openai-function-calling","llm-apps","streaming-ui","blocking-ui"],"author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.6","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"homepage":"https://github.com/st3w4r/openai-partial-stream#readme","bugs":{"url":"https://github.com/st3w4r/openai-partial-stream/issues"},"dist":{"shasum":"22dfe7b782156879b7b71751c4992d8494f5574d","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.6.tgz","fileCount":32,"integrity":"sha512-zUU6JST/is2Q7oc6NYQTgqLq5mJllCv6ulT6thx0YcWd8ad/7FHwC0TB8O+/l9xB+wjSG+gA3vRadcdM3hsCUw==","signatures":[{"sig":"MEYCIQCyKxoQ6BgIUQkJHOfqRBSWmG7OCG7+gPRvpU00ozKpOAIhAN0SEQMp3IDbRo9b8bT2thIzXRmTuy5/enW+vl0WYkoL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43939},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"5f04b2111057639ed81569ea3d8047cf96925f83","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","format":"npx prettier --write src/*.ts","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"repository":{"url":"git+https://github.com/st3w4r/openai-partial-stream.git","type":"git","directory":"packages/openai-partial-stream"},"_npmVersion":"9.8.1","description":"- Convert a **stream of token** into a **parsable JSON** object before the stream ends. - Implement **Streaming UI** in **LLM**-based AI application. - Leverage **OpenAI Function Calling** for early stream processing. - Parse **JSON stream** into distinct","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.2","openai":"^4.6.0","zod-to-ts":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.6_1696434569912_0.9224306686872987","host":"s3://npm-registry-packages"}},"0.3.7":{"name":"openai-partial-stream","version":"0.3.7","keywords":["stream","tokens","openai","json-parser","json-parsing","token-passing","ai-app","gpt-3","openai-api","gpt-4","llm","chatgpt","chatgpt-api","openai-function-calling","llm-apps","streaming-ui","blocking-ui"],"author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.7","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"homepage":"https://github.com/st3w4r/openai-partial-stream#readme","bugs":{"url":"https://github.com/st3w4r/openai-partial-stream/issues"},"dist":{"shasum":"171b49a84a6358b3cdb6ac49325a926a13322e2b","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.7.tgz","fileCount":32,"integrity":"sha512-8TkqwljTsRT61NHGpBRL0uun2VGdCrou4KMWJjRjVsL3mukaF3HX42wdEtB50Zt1sHmtu1HYDM6gR1lbajYtFw==","signatures":[{"sig":"MEYCIQC1aPY4TDXLd3qWHfKsWerVTvEbdGSWOwoeCOkxB08tlAIhANLmWI4+Nre0spTOsbItiVYHD08k7llrl94XRotYaOat","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44831},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"f5d8244bf27ed8e99afea42134cfdd673a3ac5c3","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","format":"npx prettier --write src/*.ts","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"repository":{"url":"git+https://github.com/st3w4r/openai-partial-stream.git","type":"git","directory":"packages/openai-partial-stream"},"_npmVersion":"9.8.1","description":"- Convert a **stream of token** into a **parsable JSON** object before the stream ends. - Implement **Streaming UI** in **LLM**-based AI application. - Leverage **OpenAI Function Calling** for early stream processing. - Parse **JSON stream** into distinct","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.3","openai":"^4.6.0","zod-to-json-schema":"^3.21.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.7_1698947103770_0.4959643101554325","host":"s3://npm-registry-packages"}},"0.3.8":{"name":"openai-partial-stream","version":"0.3.8","keywords":["stream","tokens","openai","json-parser","json-parsing","token-passing","ai-app","gpt-3","openai-api","gpt-4","llm","chatgpt","chatgpt-api","openai-function-calling","llm-apps","streaming-ui","blocking-ui"],"author":{"name":"Yanael Barbier"},"license":"MIT","_id":"openai-partial-stream@0.3.8","maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"homepage":"https://github.com/st3w4r/openai-partial-stream#readme","bugs":{"url":"https://github.com/st3w4r/openai-partial-stream/issues"},"dist":{"shasum":"cafb559d0b00f0ea3bc7813b4050578f876ab855","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.8.tgz","fileCount":32,"integrity":"sha512-CdkTk3/kPeudnRCKcBJcFE6fHbjMTr/WpYq5VnFsuoQmrdbU6YrzzO4igXsNvXHkSRGkaJoPlV5kEtUDzmD5jQ==","signatures":[{"sig":"MEQCIDHS0nYoDDXuqAkWOnwotKU8ZyimzipQt92bWo9MWTGlAiA1v5NQnrsoWdBc3wDxGBOGq/0rGfxO3We8Nd1IHtItUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45150},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"695e3fbc0cecbdbb2a95073a3e77ebce7c69859c","private":false,"scripts":{"dev":"npm run build -- --watch","lint":"tsc","test":"jest","build":"tsup src/**/*.ts --format esm,cjs --dts --clean","format":"npx prettier --write src/*.ts","test:watch":"jest --watchAll"},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"repository":{"url":"git+https://github.com/st3w4r/openai-partial-stream.git","type":"git","directory":"packages/openai-partial-stream"},"_npmVersion":"9.8.1","description":"- Convert a **stream of token** into a **parsable JSON** object before the stream ends. - Implement **Streaming UI** in **LLM**-based AI application. - Leverage **OpenAI Function Calling** for early stream processing. - Parse **JSON stream** into distinct","directories":{},"_nodeVersion":"20.5.0","dependencies":{"zod":"^3.22.3","openai":"^4.26.0","zod-to-json-schema":"^3.21.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2","@types/jest":"^29.5.5","@types/node":"^20.6.0","@jest/globals":"^29.7.0"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openai-partial-stream_0.3.8_1708529150066_0.5442686038305768","host":"s3://npm-registry-packages"}},"0.3.9":{"name":"openai-partial-stream","author":{"name":"Yanael Barbier"},"license":"MIT","private":false,"version":"0.3.9","repository":{"type":"git","url":"git+https://github.com/st3w4r/openai-partial-stream.git","directory":"packages/openai-partial-stream"},"keywords":["stream","tokens","openai","json-parser","json-parsing","token-passing","ai-app","gpt-3","openai-api","gpt-4","llm","chatgpt","chatgpt-api","openai-function-calling","llm-apps","streaming-ui","blocking-ui"],"devDependencies":{"@jest/globals":"^29.7.0","@types/jest":"^29.5.5","@types/node":"^20.6.0","jest":"^29.7.0","ts-jest":"^29.1.1","typescript":"^5.2.2"},"peerDependencies":{"typescript":"^5.0.0"},"dependencies":{"openai":"^4.26.0","zod":"^3.22.3","zod-to-json-schema":"^3.21.4"},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"scripts":{"build":"tsup src/**/*.ts --format esm,cjs --dts --clean","dev":"npm run build -- --watch","lint":"tsc","test":"jest","test:watch":"jest --watchAll","format":"npx prettier --write src/*.ts"},"publishConfig":{"access":"public"},"_id":"openai-partial-stream@0.3.9","gitHead":"f69124a6fe118bd0d74c641a4123b06d9be53ee8","description":"- Convert a **stream of token** into a **parsable JSON** object before the stream ends. - Implement **Streaming UI** in **LLM**-based AI application. - Leverage **OpenAI Function Calling** for early stream processing. - Parse **JSON stream** into distinct","bugs":{"url":"https://github.com/st3w4r/openai-partial-stream/issues"},"homepage":"https://github.com/st3w4r/openai-partial-stream#readme","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-6qmF8Ni3IXWFAh0mUgDSmmpeMIrcEvcWR66QmBGaV9XtB4vqTWoVPNUFBViLIJd2l0shaYM5E05502tGZvIzUA==","shasum":"c8e5e225083ddfd4d499580745dac13585b7d53b","tarball":"https://registry.npmjs.org/openai-partial-stream/-/openai-partial-stream-0.3.9.tgz","fileCount":32,"unpackedSize":45954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcVy7scvcweqhtoDAytwsTbdGEOI7kUvKveTnxgooSegIhAKhGaPzPTktzo7xfn2BBeBy4lzhbrQ6pBM/0MkTFqlcI"}]},"_npmUser":{"name":"st3w4r","email":"st3w4r@gmail.com"},"directories":{},"maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/openai-partial-stream_0.3.9_1718363306340_0.4504058939364879"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-28T10:05:45.193Z","modified":"2024-06-14T11:08:26.639Z","0.3.0":"2023-09-28T10:05:45.441Z","0.3.1":"2023-09-28T19:20:01.558Z","0.3.2":"2023-09-30T16:36:36.189Z","0.3.3":"2023-10-01T17:45:27.654Z","0.3.4":"2023-10-02T23:16:56.039Z","0.3.5":"2023-10-04T13:34:31.614Z","0.3.6":"2023-10-04T15:49:30.175Z","0.3.7":"2023-11-02T17:45:03.956Z","0.3.8":"2024-02-21T15:25:50.214Z","0.3.9":"2024-06-14T11:08:26.487Z"},"maintainers":[{"name":"st3w4r","email":"st3w4r@gmail.com"}],"author":{"name":"Yanael Barbier"},"repository":{"type":"git","url":"git+https://github.com/st3w4r/openai-partial-stream.git","directory":"packages/openai-partial-stream"},"keywords":["stream","tokens","openai","json-parser","json-parsing","token-passing","ai-app","gpt-3","openai-api","gpt-4","llm","chatgpt","chatgpt-api","openai-function-calling","llm-apps","streaming-ui","blocking-ui"],"license":"MIT","homepage":"https://github.com/st3w4r/openai-partial-stream#readme","bugs":{"url":"https://github.com/st3w4r/openai-partial-stream/issues"},"readme":"# OpenaAI Partial Stream Library\n\n- Convert a **stream of token** into a **parsable JSON** object before the stream ends.\n- Implement **Streaming UI** in **LLM**-based AI application.\n- Leverage **OpenAI Function Calling** for early stream processing.\n- Parse **JSON stream** into distinct **entities**.\n- Engage your users with a **real-time** experience.\n\n## Installation\n\n```bash\nnpm install openai-partial-stream\n```\n\n# Usage Example on GitHub\n\n- [GitHub repo](https://github.com/st3w4r/openai-partial-stream)\n\n## Follow the Work\n\n- [X/Twitter](https://twitter.com/YanaelBarbier)\n- [Threads](https://www.threads.net/@yanaelbarbier)\n- [Blog](https://yanael.io/subscribe/)\n","readmeFilename":"README.md"}