UNPKG

memoized-node-fetch

Version:

A wrapper around node-fetch that caches the request's promise before resolving.

57 lines (56 loc) 1.7 kB
{ "name": "memoized-node-fetch", "version": "1.1.5", "main": "build/index.js", "types": "build/index.d.ts", "description": "A wrapper around node-fetch that caches the request's promise before resolving.", "author": "Christos Panagiotakopoulos <chrispanag@gmail.com>", "website": "https://chrispanag.github.io/memoized-node-fetch/", "repository": "git://github.com/chrispanag/memoized-node-fetch.git", "publishConfig": { "access": "public" }, "license": "MIT", "keywords": [ "node-fetch", "fetch", "cache", "promise", "nodejs", "memoized", "memoized-fetch" ], "scripts": { "build": "npx tsc", "test": "ts-mocha tests/**/*.spec.ts", "gen:docs": "npx typedoc --out docs --includeVersion src/index.ts", "prepublish": "yarn run build", "prettier:base": "npx prettier", "prettier:check": "yarn run prettier:base --list-different '{src,tests}/**/*.{ts,spec.ts}'", "prettier:write": "yarn run prettier:base --write '{src,tests}/**/*.{ts,spec.ts}'" }, "devDependencies": { "@types/chai": "^4.2.21", "@types/mocha": "^9.0.0", "all-contributors-cli": "^6.20.0", "chai": "^4.3.4", "mocha": "^9.1.1", "prettier": "^2.3.2", "ts-mocha": "^8.0.0", "tslint": "^6.1.3", "typedoc": "^0.21.9", "typescript": "^4.4.2" }, "dependencies": { "@types/node-fetch": "^2.5.12", "node-fetch": "^2.6.1" }, "engines": { "node": ">=8.9.0" }, "files": [ "LICENSE", "README.md", "build/**/*" ] }