UNPKG

nano-ai-pdf

Version:

This package helps you summarize pdfs using Gemini nano on edge or on browser, making it compliant safe, faster and free

66 lines (65 loc) 1.73 kB
{ "name": "nano-ai-pdf", "version": "1.0.5", "description": "This package helps you summarize pdfs using Gemini nano on edge or on browser, making it compliant safe, faster and free", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "build": "tsc", "build:rollup": "npx rollup -c", "dev": "tsc --watch", "prepublishOnly": "npm run build", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:ci": "jest --ci --coverage --watchAll=false", "prebuild": ". $NVM_DIR/nvm.sh && nvm use lts/iron && npm i", "prepack": "npm run build:rollup" }, "keywords": [ "browser-llm", "edge-ai", "chrome", "ai", "gemini-nano", "llm", "typescript", "browser" ], "author": "Shreyan Mehta", "license": "GPL-3.0 license", "devDependencies": { "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/node": "^20.0.0", "@types/react": "^19.1.10", "jest": "^29.7.0", "rollup": "^4.46.2", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.4.1", "tslib": "^2.8.1", "typescript": "^5.9.2" }, "files": [ "dist", "README.md" ], "engines": { "node": ">=16.0.0" }, "dependencies": { "react-pdftotext": "^1.3.4" }, "peerDependencies": { "react": "^19.1.1" } }