UNPKG

jstextfromimage

Version:

Get descriptions of images from OpenAI, Azure OpenAI and Anthropic Claude models. Supports both URLs and local files with batch processing capabilities.

82 lines 1.98 kB
{ "name": "jstextfromimage", "version": "1.1.7", "description": "Get descriptions of images from OpenAI, Azure OpenAI and Anthropic Claude models. Supports both URLs and local files with batch processing capabilities.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint . --ext .ts", "prepare": "npm run build" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "coveragePathIgnorePatterns": [ "/node_modules/", "/dist/" ], "testMatch": [ "**/tests/**/*.test.ts" ] }, "repository": { "type": "git", "url": "git+https://github.com/OrenGrinker/jstextfromimage.git" }, "keywords": [ "openai", "gpt-4", "claude", "azure", "azure-openai", "computer-vision", "image-to-text", "ai", "machine-learning", "batch-processing", "local-files", "image-analysis", "typescript", "vision-ai" ], "author": "Oren Grinker", "license": "MIT", "bugs": { "url": "https://github.com/OrenGrinker/jstextfromimage/issues" }, "homepage": "https://github.com/OrenGrinker/jstextfromimage#readme", "dependencies": { "@anthropic-ai/sdk": "^0.18.0", "@azure/identity": "^4.5.0", "@azure/openai": "^2.0.0", "axios": "^1.3.0", "dotenv": "^16.0.0", "mime-types": "^2.1.34", "openai": "^4.73.0", "p-limit": "^4.0.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/mime-types": "^2.1.4", "@types/node": "^20.17.6", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "typescript": "^5.6.3" }, "engines": { "node": ">=14.0.0" }, "files": [ "dist", "LICENSE", "README.md" ] }