tiny-ai-api
Version:
A customizable and extensible client api for managing conversations and AI interactions, currently supporting the **Google Gemini** API — with flexibility to support any similar AI APIs.
79 lines (78 loc) • 2.42 kB
JSON
{
"name": "tiny-ai-api",
"description": "A customizable and extensible client api for managing conversations and AI interactions, currently supporting the **Google Gemini** API — with flexibility to support any similar AI APIs.",
"version": "1.1.4",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"ethereum": "jasmindreasond.x",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"repository": "https://github.com/JasminDreasond/Tiny-AI-API.git",
"author": "Yasmin Seidel (JasminDreasond)",
"license": "AGPL-3.0-only",
"dependencies": {
"jsonrepair": "^3.12.0",
"object-hash": "^3.0.0",
"tiny-essentials": "^1.3.2"
},
"keywords": [
"ai",
"api",
"llm",
"chatbot",
"gemini",
"google-ai",
"ai-client",
"ai-session",
"multi-provider",
"ai-api",
"api-client",
"ai-conversation-manager",
"ai-conversation",
"llm-framework",
"llm-client",
"customizable",
"extensible"
],
"scripts": {
"test": "npm run test:mjs && npm run test:cjs && npm run test:js",
"test:js": "npx babel-node test/index.js",
"test:mjs": "node test/index.mjs",
"test:cjs": "node test/index.cjs",
"fix:prettier": "prettier --write ./src/* && prettier --write ./test/*&& prettier --write ./build/*",
"auto-build": "npm run build",
"build": "tsc -p tsconfig.json && rollup -c",
"build-clean": "npm run clean && npm run build",
"build-dist": "npm run build",
"build-browserify": "npx browserify build/browserify.js -p esmify > dist/TinyAiApi.web.js",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@babel/cli": "^7.27.0",
"@babel/core": "^7.26.10",
"@babel/node": "^7.26.0",
"@babel/preset-env": "^7.26.9",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/events": "^3.0.3",
"@types/node": "^22.15.2",
"@types/object-hash": "^3.0.6",
"babel-preset-es2015": "^6.24.1",
"browser-resolve": "^2.0.0",
"browserify": "^17.0.1",
"esmify": "^2.1.1",
"prettier": "3.5.3",
"rollup": "^4.40.0",
"rollup-preserve-directives": "^1.1.3",
"tslib": "^2.8.1",
"typescript": "^5.8.3"
}
}