UNPKG

huggingface-chat

Version:
79 lines (78 loc) 1.92 kB
{ "name": "huggingface-chat", "version": "4.0.1", "type": "module", "description": "An api for hugging face chat.", "exports": { ".": { "import": { "types": "./lib/esm/types/index.d.ts", "default": "./lib/esm/index.mjs" }, "require": { "types": "./lib/cjs/types/index.d.ts", "default": "./lib/cjs/index.js" } } }, "types": "./lib/cjs/types/index.d.ts", "main": "./lib/cjs/index.js", "files": [ "lib/**/*" ], "scripts": { "clean": "del-cli ./lib", "build": "npm run clean && npm run build:esm && npm run build:cjs", "build:esm": "tsc -p ./config/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs", "build:cjs": "tsc -p ./config/tsconfig.cjs.json", "prepack": "npm run build", "clean:docs": "npm run clean && del-cli package-lock.json", "doc": "jsdoc2md ./lib/esm/login.js >> ./docs/login.md && jsdoc2md ./lib/esm/chat.js >> ./docs/chat.md" }, "release": { "branches": [ "main" ] }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/rahulsushilsharma/huggingface-chat.git" }, "keywords": [ "hugging face", "chat", "api", "hugging", "hugging-chat", "LLM", "Llama", "Llama 2", "meta", "node", "huggingface", "huggingface chat" ], "bugs": { "url": "https://github.com/rahulsushilsharma/huggingface-chat/issues" }, "homepage": "https://github.com/rahulsushilsharma/huggingface-chat#readme", "author": "Rahul Sharma", "license": "ISC", "devDependencies": { "@types/node": "^20.5.8", "del-cli": "^5.0.0", "jsdoc-to-markdown": "^8.0.0", "move-file-cli": "^3.0.0", "semantic-release": "^19.0.3", "typescript": "^5.2.2" }, "dependencies": { "axios": "^1.5.0" }, "engines": { "node": ">=18.17" } }