UNPKG

@huggingface/ollama-utils

Version:

Various utilities for maintaining Ollama compatibility with models on Hugging Face hub

56 lines 1.49 kB
{ "name": "@huggingface/ollama-utils", "version": "0.0.12", "description": "Various utilities for maintaining Ollama compatibility with models on Hugging Face hub", "repository": "https://github.com/huggingface/huggingface.js.git", "publishConfig": { "access": "public" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "browser": { "./src/utils/FileBlob.ts": false, "./dist/index.js": "./dist/browser/index.js", "./dist/index.mjs": "./dist/browser/index.mjs" }, "engines": { "node": ">=20" }, "source": "index.ts", "files": [ "dist", "src", "tsconfig.json" ], "keywords": [ "huggingface", "hub", "gguf" ], "author": "Hugging Face", "license": "MIT", "dependencies": { "@huggingface/jinja": "^0.5.0" }, "devDependencies": { "@types/node": "^20.12.8" }, "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", "build:automap": "tsx scripts/generate-automap.ts && prettier --write ./src/chat-template-automap.ts", "test": "vitest run", "check": "tsc" } }