{"_id":"@huggingface/jinja","_rev":"4205479","name":"@huggingface/jinja","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","dist-tags":{"latest":"0.5.5"},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"time":{"modified":"2026-03-04T17:03:19.000Z","created":"2023-12-14T16:43:23.899Z","0.5.5":"2026-02-02T02:06:23.505Z","0.5.4":"2026-01-26T21:07:08.255Z","0.5.3":"2025-11-27T18:18:24.972Z","0.5.2":"2025-11-25T17:31:02.235Z","0.5.1":"2025-07-10T20:58:48.682Z","0.5.0":"2025-05-05T22:34:22.340Z","0.4.1":"2025-05-01T14:09:12.219Z","0.4.0":"2025-04-29T00:47:47.506Z","0.3.4":"2025-04-10T18:58:24.975Z","0.3.3":"2025-01-30T15:45:52.936Z","0.3.2":"2024-10-30T11:01:28.032Z","0.3.1":"2024-09-16T22:15:25.311Z","0.3.0":"2024-08-07T15:20:23.517Z","0.2.2":"2024-03-15T01:24:56.129Z","0.2.1":"2024-03-06T15:17:35.180Z","0.2.0":"2024-03-05T11:02:11.897Z","0.1.3":"2024-02-15T16:40:30.911Z","0.1.2":"2023-12-18T23:21:43.323Z","0.1.1":"2023-12-18T15:41:50.866Z","0.1.0":"2023-12-18T14:23:48.467Z","0.0.6":"2023-12-16T15:17:40.365Z","0.0.5":"2023-12-16T13:13:08.490Z","0.0.4":"2023-12-15T01:30:44.237Z","0.0.3":"2023-12-15T00:25:42.724Z","0.0.2":"2023-12-14T16:43:23.899Z"},"users":{},"author":{"name":"Hugging Face"},"repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"versions":{"0.5.5":{"name":"@huggingface/jinja","version":"0.5.5","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","keywords":["face","hugging","huggingface","jinja","templates"],"license":"MIT","author":{"name":"Hugging Face"},"repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"source":"src/index.ts","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"devDependencies":{"@huggingface/transformers":"^3.0.0","typescript":"^5.3.2","@huggingface/hub":"^2.8.0"},"engines":{"node":">=18"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"oxfmt .","format:check":"oxfmt --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.5.5","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-xRlzazC+QZwr6z4ixEqYHo9fgwhTZ3xNSdljlKfUFGZSdlvt166DljRELFUfFytlYOYvo3vTisA/AFOuOAzFQQ==","_resolved":"/tmp/1b33eae5998912b5914a86c325f152d9/huggingface-jinja-0.5.5.tgz","_from":"file:huggingface-jinja-0.5.5.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"shasum":"cdfc4c29fc64515d76e73487ffeeea546e8c1d5e","size":71452,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.5.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.5.5.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f9362b0d-4a04-46d2-88a7-961068598523"}},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.5.5_1769997983344_0.2725731614312661"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-02T02:06:23.505Z","publish_time":1769997983505,"_source_registry_name":"default","_cnpm_publish_time":1769997983505},"0.5.4":{"name":"@huggingface/jinja","version":"0.5.4","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","keywords":["face","hugging","huggingface","jinja","templates"],"license":"MIT","author":{"name":"Hugging Face"},"repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"source":"src/index.ts","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"devDependencies":{"@huggingface/transformers":"^3.0.0","typescript":"^5.3.2","@huggingface/hub":"^2.8.0"},"engines":{"node":">=18"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"oxfmt .","format:check":"oxfmt --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.5.4","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-VoQJywjpjy2D88Oj0BTHRuS8JCbUgoOg5t1UGgbtGh2fRia9Dx/k6Wf8FqrEWIvWK9fAkfJeeLB9fcSpCNPCpw==","_resolved":"/tmp/2b9b8ca0f156e3cfa512e33382808a70/huggingface-jinja-0.5.4.tgz","_from":"file:huggingface-jinja-0.5.4.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"shasum":"c7d32475741b96795c37f6f8c4e8abafd451c2e4","size":71307,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.5.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.5.4.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f9362b0d-4a04-46d2-88a7-961068598523"}},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.5.4_1769461628093_0.21608831446328236"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-26T21:07:08.255Z","publish_time":1769461628255,"_source_registry_name":"default","_cnpm_publish_time":1769461628255},"0.5.3":{"name":"@huggingface/jinja","version":"0.5.3","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^2.7.1"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.5.3","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-asqfZ4GQS0hD876Uw4qiUb7Tr/V5Q+JZuo2L+BtdrD4U40QU58nIRq3ZSgAzJgT874VLjhGVacaYfrdpXtEvtA==","_resolved":"/tmp/455093136a61056bd73a1e88207ec348/huggingface-jinja-0.5.3.tgz","_from":"file:huggingface-jinja-0.5.3.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"8182a2d6fc9f84c1539fa12c219a5915cdc41264","size":69309,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.5.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f9362b0d-4a04-46d2-88a7-961068598523"}},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.5.3_1764267504769_0.017702186375814666"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-27T18:18:24.972Z","publish_time":1764267504972,"_source_registry_name":"default","_cnpm_publish_time":1764267504972},"0.5.2":{"name":"@huggingface/jinja","version":"0.5.2","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^2.7.1"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.5.2","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-3KxqfOSYtHDsq6HglCH4BDHGXXHMS7ZHUHpxVGswa4l8ycCCExDR2E4nDlTo9LCa6bxp03ywf/mAIVEsO1Ov1w==","_resolved":"/tmp/d8eb6d85fa23f280e4d40669f6dad923/huggingface-jinja-0.5.2.tgz","_from":"file:huggingface-jinja-0.5.2.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"0ff7e4564e471d4f49abc23832d2891dc1fcf8e6","size":68544,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.5.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f9362b0d-4a04-46d2-88a7-961068598523"}},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.5.2_1764091862023_0.47178337171073026"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-25T17:31:02.235Z","publish_time":1764091862235,"_source_registry_name":"default","_cnpm_publish_time":1764091862235},"0.5.1":{"name":"@huggingface/jinja","version":"0.5.1","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^2.4.0"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.5.1","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-yUZLld4lrM9iFxHCwFQ7D1HW2MWMwSbeB7WzWqFYDWK+rEb+WldkLdAJxUPOmgICMHZLzZGVcVjFh3w/YGubng==","_resolved":"/tmp/512c55846b85db713d758bf3b08842b0/huggingface-jinja-0.5.1.tgz","_from":"file:huggingface-jinja-0.5.1.tgz","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"shasum":"081d334ddcf6237f65561ae3d665bb713a8ff74f","size":64755,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.5.1.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com","actor":{"name":"coyotte508","email":"coyotte508@protonmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.5.1_1752181128463_0.17607086917644943"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-10T20:58:48.682Z","publish_time":1752181128682,"_source_registry_name":"default","_cnpm_publish_time":1752181128682},"0.5.0":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.5.0","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^1.1.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.5.0","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-Ptc03/jGRiYRoi0bUYKZ14MkDslsBRT24oxmsvUlfYrvQMldrxCevhPnT+hfX8awKTT8/f/0ZBBWldoeAcMHdQ==","_resolved":"/tmp/cf464b133087bd9eb97797c589b42640/huggingface-jinja-0.5.0.tgz","_from":"file:huggingface-jinja-0.5.0.tgz","_nodeVersion":"20.19.1","_npmVersion":"10.8.2","dist":{"shasum":"0da65deb98798cd24ea42ad13f6df224ce23f443","size":64914,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.5.0.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.5.0_1746484462132_0.6728291348401023"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-05T22:34:22.340Z","publish_time":1746484462340,"_source_registry_name":"default","_cnpm_publish_time":1746484462340},"0.4.1":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.4.1","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^1.1.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.4.1","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-3WXbMFaPkk03LRCM0z0sylmn8ddDm4ubjU7X+Hg4M2GOuMklwoGAFXp9V2keq7vltoB/c7McE5aHUVVddAewsw==","_resolved":"/tmp/f0f34427b24cbba64973afa744d7227d/huggingface-jinja-0.4.1.tgz","_from":"file:huggingface-jinja-0.4.1.tgz","_nodeVersion":"20.19.1","_npmVersion":"10.8.2","dist":{"shasum":"a71deab443c4badb6498d28e784ea1cd5eb369e2","size":56813,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.4.1.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.4.1_1746108551992_0.16906631627125002"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-01T14:09:12.219Z","publish_time":1746108552219,"_source_registry_name":"default","_cnpm_publish_time":1746108552219},"0.4.0":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.4.0","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^1.1.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.4.0","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-NHN8rwJDaGVnpnNLv/4Aaqc/CuBDmN/pa6lrZOsFG7Zgm/5MEmrab+hzF2s46UMMoJcO2SMZ2amSxJXp0s8Ncw==","_resolved":"/tmp/2f6b8cccc9a8c13c21f8873d0ce7d210/huggingface-jinja-0.4.0.tgz","_from":"file:huggingface-jinja-0.4.0.tgz","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"shasum":"ab30482e9b000545ccee1b0065cc767c24f71d90","size":56196,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.4.0.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.4.0_1745887667313_0.6557814873384107"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-29T00:47:47.506Z","publish_time":1745887667506,"_source_registry_name":"default","_cnpm_publish_time":1745887667506},"0.3.4":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.3.4","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^1.1.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.3.4","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-kFFQWJiWwvxezKQnvH1X7GjsECcMljFx+UZK9hx6P26aVHwwidJVTB0ptLfRVZQvVkOGHoMmTGvo4nT0X9hHOA==","_resolved":"/tmp/f593c717ad4a914167af7af6fb51619d/huggingface-jinja-0.3.4.tgz","_from":"file:huggingface-jinja-0.3.4.tgz","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"shasum":"3d468332129ccf9e8573e7ee432a90ac49a17366","size":50547,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.3.4.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.3.4_1744311504799_0.7891738439717462"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-10T18:58:24.975Z","publish_time":1744311504975,"_source_registry_name":"default","_cnpm_publish_time":1744311504975},"0.3.3":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.3.3","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^1.0.0"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.3.3","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-vQQr2JyWvVFba3Lj9es4q9vCl1sAc74fdgnEMoX8qHrXtswap9ge9uO3ONDzQB0cQ0PUyaKY2N6HaVbTBvSXvw==","_resolved":"/tmp/c42c27231a7cb64335a9a27d42af64b3/huggingface-jinja-0.3.3.tgz","_from":"file:huggingface-jinja-0.3.3.tgz","_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"shasum":"dd31635a19df5ae011d0e8d97eea8675bebbcda1","size":50191,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.3.3.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jinja_0.3.3_1738251952717_0.665816910237945"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T15:45:52.936Z","publish_time":1738251952936,"_source_registry_name":"default","_cnpm_publish_time":1738251952936},"0.3.2":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.3.2","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@huggingface/transformers":"^3.0.0","@huggingface/hub":"^0.18.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.3.2","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-F2FvuIc+w1blGsaqJI/OErRbWH6bVJDCBI8Rm5D86yZ2wlwrGERsfIaru7XUv9eYC3DMP3ixDRRtF0h6d8AZcQ==","_resolved":"/tmp/99949cf53685216528966abfdba63302/huggingface-jinja-0.3.2.tgz","_from":"file:huggingface-jinja-0.3.2.tgz","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"shasum":"c1967f0685c69657c2d3b169459f72d5c6acbdec","size":48492,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.3.2.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@protonmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.3.2_1730286087834_0.029556523280647395"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-30T11:01:28.032Z","publish_time":1730286088032,"_source_registry_name":"default","_cnpm_publish_time":1730286088032},"0.3.1":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.3.1","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.15.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.3.1","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-SbcBWUKDQ76lzlVYOloscUk0SJjuL1LcbZsfQv/Bxxc7dwJMYuS+DAQ+HhVw6ZkTFXArejaX5HQRuCuleYwYdA==","_resolved":"/tmp/f69ebd0f53454c1d7c86d8b83d2dbcf8/huggingface-jinja-0.3.1.tgz","_from":"file:huggingface-jinja-0.3.1.tgz","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"shasum":"4fd73c9cf450a25ec4f8a8969290231c4ec37d98","size":48364,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.3.1.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.3.1_1726524925074_0.4643819284895345"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-16T22:15:25.311Z","publish_time":1726524925311,"_source_registry_name":"default","_cnpm_publish_time":1726524925311},"0.3.0":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.3.0","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.15.1"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"_id":"@huggingface/jinja@0.3.0","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_integrity":"sha512-GLJzso0M07ZncFkrJMIXVU4os6GFbPocD4g8fMQPMGJubf48FtGOsUORH2rtFdXPIPelz8SLBMn8ZRmOTwXm9Q==","_resolved":"/tmp/36acc48120892613134a58760e197794/huggingface-jinja-0.3.0.tgz","_from":"file:huggingface-jinja-0.3.0.tgz","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"shasum":"372d34f7eba59c3b886d892a6c72acd211d74675","size":48020,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.3.0.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.3.0_1723044023237_0.9981120057636625"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-07T15:20:23.517Z","publish_time":1723044023517,"_source_registry_name":"default","_cnpm_publish_time":1723044023517},"0.2.2":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.2.2","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.14.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.2.2","_integrity":"sha512-/KPde26khDUIPkTGU82jdtTW9UAuvUTumCAbFs/7giR0SxsvZC4hru51PBvpijH6BVkHcROcvZM/lpy5h1jRRA==","_resolved":"/tmp/50399ea1c551df96e56c860fd25ebe4d/huggingface-jinja-0.2.2.tgz","_from":"file:huggingface-jinja-0.2.2.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"faeb205a9d6995089bef52655ddd8245d3190627","size":38812,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.2.2.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.2.2_1710465895977_0.47752799573378035"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-15T01:24:56.129Z","publish_time":1710465896129,"_source_registry_name":"default","_cnpm_publish_time":1710465896129},"0.2.1":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.2.1","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.14.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.2.1","_integrity":"sha512-HxjVCll8oGfgUQmN91NYWCjfuaQ5mYZkc/BB1gjfp28q3s48yiB5jUEV7BvaRdIAb/+14cNdX8TIdalFykwywA==","_resolved":"/tmp/575a1e07477208c3a44676d749e0e6b1/huggingface-jinja-0.2.1.tgz","_from":"file:huggingface-jinja-0.2.1.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"shasum":"a7d440da9279e4c5cf6596fc4d3d853378468128","size":37433,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.2.1.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.2.1_1709738254944_0.007049760280145367"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-06T15:17:35.180Z","publish_time":1709738255180,"_source_registry_name":"default","_cnpm_publish_time":1709738255180},"0.2.0":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.2.0","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.14.2"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.2.0","_integrity":"sha512-vI9dvAyQAsyd2WEUtxSTfb+8cs+Ktb+eWUNfEnD2g/J6iaS450bthOp9iLzV80XzvuVe7EosmflhyAvigmRFuw==","_resolved":"/tmp/47c1c83b6814a812a089224e068d3f19/huggingface-jinja-0.2.0.tgz","_from":"file:huggingface-jinja-0.2.0.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"shasum":"23bc47ed050dc77485fcb7b65d1a90da81e6929b","size":34874,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.2.0.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.2.0_1709636531752_0.1508904484347129"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-05T11:02:11.897Z","publish_time":1709636531897,"_source_registry_name":"default","_cnpm_publish_time":1709636531897},"0.1.3":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.1.3","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.13.0"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.1.3","_integrity":"sha512-9KsiorsdIK8+7VmlamAT7Uh90zxAhC/SeKaKc80v58JhtPYuwaJpmR/ST7XAUxrHAFqHTCoTH5aJnJDwSL6xIQ==","_resolved":"/tmp/4c81045d7e35d30d0f6de42ce1c1f310/huggingface-jinja-0.1.3.tgz","_from":"file:huggingface-jinja-0.1.3.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"202cc080bcca92cb7c89e179a084a598cbfe35e0","size":30410,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.1.3.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.1.3_1708015230757_0.7638412082718911"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-15T16:40:30.911Z","publish_time":1708015230911,"_source_registry_name":"default","_cnpm_publish_time":1708015230911},"0.1.2":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.1.2","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.1.2","_integrity":"sha512-x5mpbfJt1nKmVep5WNP5VjNsjWApWNj8pPYI+uYMkBWH9bWUJmQmHt2lbf0VCoQd54Oq3XuFEh/UyoVh7rPxmg==","_resolved":"/tmp/97abbad13d22232cf2935e835210f71e/huggingface-jinja-0.1.2.tgz","_from":"file:huggingface-jinja-0.1.2.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"073fa0a68ef481a1806b0186bbafd8013e586fbe","size":29913,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.1.2.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.1.2_1702941703136_0.44467327480525887"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-18T23:21:43.323Z","publish_time":1702941703323,"_source_registry_name":"default","_cnpm_publish_time":1702941703323},"0.1.1":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.1.1","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.1.1","_integrity":"sha512-2z7VEtiWTXsOr9RjdlViI007x0MTWYDSK8jtOZXSVLSk9CNm1QCcsZTGXRDgo2DIuEH4z0I91++QUqvfvR0g3Q==","_resolved":"/tmp/8aa69cebc57ff4b80a2e1c037f7b4011/huggingface-jinja-0.1.1.tgz","_from":"file:huggingface-jinja-0.1.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"0e83bb8cae6143507d40daaa7ff96edcabfa0d28","size":29913,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.1.1.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.1.1_1702914110689_0.1733861823110936"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-18T15:41:50.866Z","publish_time":1702914110866,"_source_registry_name":"default","_cnpm_publish_time":1702914110866},"0.1.0":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.1.0","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.1.0","_integrity":"sha512-NgZ0imvGPHblw+nFJN2eC+so0DmvLSEieldI7gjZZbBUDE80ypG1O+DibdeWne1vQuGBYV/pC3XL//SgxiXC7g==","_resolved":"/tmp/027cb728248a22a55d22a5f8a55aab6e/huggingface-jinja-0.1.0.tgz","_from":"file:huggingface-jinja-0.1.0.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"26f8a20f89bf19b22a991be7c33fd5bf6856101f","size":29915,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.1.0.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.1.0_1702909428254_0.3439050143435647"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-18T14:23:48.467Z","publish_time":1702909428467,"_source_registry_name":"default","_cnpm_publish_time":1702909428467},"0.0.6":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.0.6","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.0.6","_integrity":"sha512-RITL1+jPiGNZEYNy/UTnyZsX2KvB++UTqQGVVtFpvQQV9DLRo0fHVWjpAjbqm9Uw4UfBahhHF7/4urhZNOF4Lw==","_resolved":"/tmp/917d33657ecc3a18dac293de30f8a97c/huggingface-jinja-0.0.6.tgz","_from":"file:huggingface-jinja-0.0.6.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"24121db554f73311ec10008f33b153e3a211ab69","size":29758,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.0.6.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.0.6_1702739860145_0.5286221403104123"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-16T15:17:40.365Z","publish_time":1702739860365,"_source_registry_name":"default","_cnpm_publish_time":1702739860365},"0.0.5":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.0.5","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.0.5","_integrity":"sha512-ywwwrC7pwUAKuvTJpU1l3lIql+ffcDTSbiJrCeZYM42d1UZEnaEACqNweYH/B7TUCXbRVcG5TqUmFfENTi17nQ==","_resolved":"/tmp/6afcb3ff8f9762a6edc4161a5e97a59a/huggingface-jinja-0.0.5.tgz","_from":"file:huggingface-jinja-0.0.5.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"e87cdf1b8752dc7bc582000d2b859e5dbc9f6657","size":29070,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.0.5.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.0.5_1702732388253_0.5327050283724268"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-16T13:13:08.490Z","publish_time":1702732388490,"_source_registry_name":"default","_cnpm_publish_time":1702732388490},"0.0.4":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.0.4","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.0.4","_integrity":"sha512-E2etCa0/bj0tEwRES9B9W1jOFY2yoZ2FXi5A24vfmbCFuGLJjsTW2peZhKDrGbduHOVxNTuZHzmqgRPwSYPWeA==","_resolved":"/tmp/0460cdd4f6cdc839cfd27bc3cde86cf8/huggingface-jinja-0.0.4.tgz","_from":"file:huggingface-jinja-0.0.4.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"ca604fa12d8a385a787d98407110c758cfb50724","size":27670,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.0.4.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.0.4_1702603844078_0.06845408635446537"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-15T01:30:44.237Z","publish_time":1702603844237,"_source_registry_name":"default","_cnpm_publish_time":1702603844237},"0.0.3":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.0.3","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.0.3","_integrity":"sha512-Zdij6zXsfjloaHyw5jzl82cEMhcqzydPhMNQEzzQVzDAqQU+l/M7BvsN09Qftmt0jvNwCxt/t9a1ArmV21x44Q==","_resolved":"/tmp/69201bed783768db70f5aa87839a7fe6/huggingface-jinja-0.0.3.tgz","_from":"file:huggingface-jinja-0.0.3.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"d86d2527d5370dd91ef7d0bacde038b356a90f26","size":27489,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.0.3.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.0.3_1702599942450_0.4296889230718792"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-15T00:25:42.724Z","publish_time":1702599942724,"_source_registry_name":"default","_cnpm_publish_time":1702599942724},"0.0.2":{"name":"@huggingface/jinja","packageManager":"pnpm@8.10.5","version":"0.0.2","description":"A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.","repository":{"type":"git","url":"git+https://github.com/huggingface/huggingface.js.git"},"publishConfig":{"access":"public"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.js"}},"engines":{"node":">=18"},"source":"src/index.ts","keywords":["huggingface","jinja","templates","hugging","face"],"author":{"name":"Hugging Face"},"license":"MIT","devDependencies":{"typescript":"^5.3.2","@xenova/transformers":"^2.9.0","@huggingface/hub":"^0.12.3"},"scripts":{"lint":"eslint --quiet --fix --ext .cjs,.ts .","lint:check":"eslint --ext .cjs,.ts .","format":"prettier --write .","format:check":"prettier --check .","build":"tsup src/index.ts --format cjs,esm --clean --dts","test":"vitest run","test:browser":"vitest run --browser.name=chrome --browser.headless","check":"tsc"},"bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"homepage":"https://github.com/huggingface/huggingface.js#readme","_id":"@huggingface/jinja@0.0.2","_integrity":"sha512-fZc3/CflXywIHnbYJTSjr98HFIhg9lIQwsSgmSwCgGf2G7T2O4jQV5UuwgcL7wyhdyX9LfFpZVharN9iAkHMZQ==","_resolved":"/tmp/270e1b48da563311cbdca492092a7325/huggingface-jinja-0.0.2.tgz","_from":"file:huggingface-jinja-0.0.2.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"0f878e8c661f064d6d5bcf20008dcb7537709153","size":26866,"noattachment":false,"key":"/@huggingface/jinja/-/@huggingface/jinja-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@huggingface/jinja/download/@huggingface/jinja-0.0.2.tgz"},"_npmUser":{"name":"coyotte508","email":"coyotte508@gmail.com"},"directories":{},"maintainers":[{"name":"coyotte508","email":""},{"name":"gary149","email":""},{"name":"julien-c","email":""},{"name":"pierric","email":""},{"name":"xenova","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jinja_0.0.2_1702572203650_0.2314402021615991"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-14T16:43:23.899Z","publish_time":1702572203899,"_source_registry_name":"default","_cnpm_publish_time":1702572203899}},"readme":"# Jinja\n\nA minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.\n\n## Usage\n\n### Load template from a model on the Hugging Face Hub\n\nFirst, install the jinja and hub packages:\n\n```sh\nnpm i @huggingface/jinja\nnpm i @huggingface/hub\n```\n\nYou can then load a tokenizer from the Hugging Face Hub and render a list of chat messages, as follows:\n\n```js\nimport { Template } from \"@huggingface/jinja\";\nimport { downloadFile } from \"@huggingface/hub\";\n\nconst config = await (\n\tawait downloadFile({\n\t\trepo: \"mistralai/Mistral-7B-Instruct-v0.1\",\n\t\tpath: \"tokenizer_config.json\",\n\t})\n).json();\n\nconst chat = [\n\t{ role: \"user\", content: \"Hello, how are you?\" },\n\t{ role: \"assistant\", content: \"I'm doing great. How can I help you today?\" },\n\t{ role: \"user\", content: \"I'd like to show off how chat templating works!\" },\n];\n\nconst template = new Template(config.chat_template);\nconst result = template.render({\n\tmessages: chat,\n\tbos_token: config.bos_token,\n\teos_token: config.eos_token,\n});\n// \"<s>[INST] Hello, how are you? [/INST]I'm doing great. How can I help you today?</s> [INST] I'd like to show off how chat templating works! [/INST]\"\n```\n\n### Transformers.js\n\nFirst, install `@huggingface/transformers`:\n\n```sh\nnpm i @huggingface/transformers\n```\n\nYou can then render a list of chat messages using a tokenizer's `apply_chat_template` method.\n\n```js\nimport { AutoTokenizer } from \"@huggingface/transformers\";\n\n// Load tokenizer from the Hugging Face Hub\nconst tokenizer = await AutoTokenizer.from_pretrained(\"mistralai/Mistral-7B-Instruct-v0.1\");\n\n// Define chat messages\nconst chat = [\n\t{ role: \"user\", content: \"Hello, how are you?\" },\n\t{ role: \"assistant\", content: \"I'm doing great. How can I help you today?\" },\n\t{ role: \"user\", content: \"I'd like to show off how chat templating works!\" },\n];\n\nconst text = tokenizer.apply_chat_template(chat, { tokenize: false });\n// \"<s>[INST] Hello, how are you? [/INST]I'm doing great. How can I help you today?</s> [INST] I'd like to show off how chat templating works! [/INST]\"\n```\n\nNotice how the entire chat is condensed into a single string. If you would instead like to return the tokenized version (i.e., a list of token IDs), you can use the following:\n\n```js\nconst input_ids = tokenizer.apply_chat_template(chat, { tokenize: true, return_tensor: false });\n// [1, 733, 16289, 28793, 22557, 28725, 910, 460, 368, 28804, 733, 28748, 16289, 28793, 28737, 28742, 28719, 2548, 1598, 28723, 1602, 541, 315, 1316, 368, 3154, 28804, 2, 28705, 733, 16289, 28793, 315, 28742, 28715, 737, 298, 1347, 805, 910, 10706, 5752, 1077, 3791, 28808, 733, 28748, 16289, 28793]\n```\n\nFor more information about chat templates, check out the transformers [documentation](https://huggingface.co/docs/transformers/main/en/chat_templating).\n","_attachments":{},"homepage":"https://github.com/huggingface/huggingface.js#readme","bugs":{"url":"https://github.com/huggingface/huggingface.js/issues"},"license":"MIT"}