File size: 1,549 Bytes
94753b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
	"name": "@huggingface/inference",
	"version": "2.6.4",
	"packageManager": "pnpm@8.10.5",
	"license": "MIT",
	"author": "Tim Mikeladze <tim.mikeladze@gmail.com>",
	"description": "Typescript wrapper for the Hugging Face Inference Endpoints & Inference API",
	"repository": {
		"type": "git",
		"url": "https://github.com/huggingface/huggingface.js.git"
	},
	"publishConfig": {
		"access": "public"
	},
	"keywords": [
		"hugging face",
		"hugging face typescript",
		"huggingface",
		"huggingface-inference-api",
		"huggingface-inference-api-typescript",
		"inference",
		"ai"
	],
	"engines": {
		"node": ">=18"
	},
	"files": [
		"dist",
		"src"
	],
	"source": "src/index.ts",
	"types": "./dist/index.d.ts",
	"main": "./dist/index.cjs",
	"module": "./dist/index.js",
	"exports": {
		"types": "./dist/index.d.ts",
		"require": "./dist/index.cjs",
		"import": "./dist/index.js"
	},
	"type": "module",
	"scripts": {
		"build": "tsup src/index.ts --format cjs,esm --clean && pnpm run dts",
		"dts": "tsx scripts/generate-dts.ts",
		"lint": "eslint --quiet --fix --ext .cjs,.ts .",
		"lint:check": "eslint --ext .cjs,.ts .",
		"format": "prettier --write .",
		"format:check": "prettier --check .",
		"prepare": "pnpm run build",
		"prepublishOnly": "pnpm run build",
		"test": "vitest run --config vitest.config.mts",
		"test:browser": "vitest run --browser.name=chrome --browser.headless --config vitest.config.mts",
		"check": "tsc"
	},
	"devDependencies": {
		"@huggingface/tasks": "workspace:^",
		"@types/node": "18.13.0"
	},
	"resolutions": {}
}