@pent4gon/fetch
Version:
A modern fetch wrapper with cookie support, written in TypeScript.
45 lines (43 loc) • 1.06 kB
JSON
{
"name": "@pent4gon/fetch",
"version": "1.0.0",
"description": "A modern fetch wrapper with cookie support, written in TypeScript.",
"author": "pentagon",
"license": "MIT",
"keywords": [
"fetch",
"cookie",
"tough-cookie",
"fetch-cookie",
"typescript"
],
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json && mv ./dist/cjs/index.js ./dist/index.cjs && rm -rf ./dist/cjs",
"prepublishOnly": "npm run build",
"dev": "tsx --watch ./src/index.ts",
"start": "node dist/index.js",
"test": "tsx test.ts"
},
"dependencies": {
"fetch-cookie": "^3.1.0",
"tough-cookie": "^5.1.2"
},
"devDependencies": {
"tsx": "^4.20.4",
"typescript": "^5.3.3"
}
}