UNPKG

fast-r2

Version:

A Node.js module to simplify Cloudflare R2 interactions, providing an instance-based API for uploads, deletions, and URL generation.

52 lines (51 loc) 1.38 kB
{ "name": "fast-r2", "version": "1.0.1", "description": "A Node.js module to simplify Cloudflare R2 interactions, providing an instance-based API for uploads, deletions, and URL generation.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "cross-env NODE_ENV=test jest", "lint": "eslint src/", "format": "prettier --write \"src/**/*.js\"" }, "keywords": [ "cloudflare", "r2", "storage", "s3-compatible", "file-upload", "file-storage", "nodejs" ], "author": "ChatBot Hub ceo@chatboth.com", "license": "MIT", "dependencies": { "@aws-sdk/client-s3": "^3.500.0" }, "devDependencies": { "@types/jest": "^29.5.14", "cross-env": "^7.0.3", "dotenv": "^16.6.1", "eslint": "^8.x.x", "jest": "^29.7.0", "prettier": "^3.x.x", "ts-jest": "^29.1.x", "typescript": "^5.x.x" }, "engines": { "node": ">=16.0.0" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "setupFiles": [ "dotenv/config", "./test/setup.js" ], "testMatch": [ "**/test/**/*.test.ts" ] } }