@huggingface/jinja

v0.1.3
A minimalistic JavaScript implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.
huggingface jinja templates hugging face

lint

eslint --quiet --fix --ext .cjs,.ts .

test

vitest run

build

tsup src/index.ts --format cjs,esm --clean --dts

check

tsc

format

prettier --write .

lint:check

eslint --ext .cjs,.ts .

format:check

prettier --check .

test:browser

vitest run --browser.name=chrome --browser.headless
npm i @huggingface/[email protected]

Metadata

  • MIT
  • >=18
  • Hugging Face
  • released 2/15/2024

Downloads