@huggingface/inference
v2.8.1 hugging face hugging face typescript huggingface huggingface-inference-api huggingface-inference-api-typescript inference ai
build
tsup src/index.ts --format cjs,esm --clean && tsc --emitDeclarationOnly --declaration
dts
tsx scripts/generate-dts.ts && tsc --noEmit dist/index.d.ts
lint
eslint --quiet --fix --ext .cjs,.ts .
lint:check
eslint --ext .cjs,.ts .
format
prettier --write .
format:check
prettier --check .
test
vitest run --config vitest.config.mts
test:browser
vitest run --browser.name=chrome --browser.headless --config vitest.config.mts
check
tsc
npm i @huggingface/inference
Metadata
- MIT
- >=18
- Tim Mikeladze
- released 9/29/2024