UNPKG

setu.js

Version:

A lightweight HTTP client for Node.js and the browser, with smart adapter selection.

50 lines (49 loc) 1.03 kB
{ "name": "setu.js", "version": "1.4.4", "description": "A lightweight HTTP client for Node.js and the browser, with smart adapter selection.", "author": "Chaitanya Abhade", "license": "MIT", "type": "module", "main": "./dist/node/index.js", "types": "./dist/index.d.ts", "exports": { "import": { "node": "./dist/node/index.js", "default": "./dist/browser/index.js" }, "require": { "node": "./dist/node/index.js", "default": "./dist/browser/index.js" } }, "files": [ "dist" ], "scripts": { "build": "tsc && echo '\nBuild complete ✅'", "dev": "tsc --watch", "test": "node ./dist/dev.js", "prepare": "npm run build" }, "keywords": [ "http", "fetch", "axios-alternative", "client", "api", "request", "lightweight", "typescript", "browser", "node", "setu" ], "devDependencies": { "@types/node": "^20.0.0", "typescript": "^5.4.0" }, "dependencies": { "form-data": "^4.0.3" } }