sync-fetch
Version:
Synchronous version of the Fetch API
66 lines (65 loc) • 1.63 kB
JSON
{
"name": "sync-fetch",
"version": "0.7.1",
"description": "Synchronous version of the Fetch API",
"main": "index.js",
"browser": "browser.js",
"jsdelivr": "bundle.js",
"unpkg": "bundle.js",
"files": [
"index.js",
"worker.js",
"src/*.js",
"browser.js",
"bundle.js"
],
"scripts": {
"lint": "standard",
"test": "mocha --throw-deprecation test/spec.js",
"build": "browserify -r .:sync-fetch -o bundle.js",
"changelog": "conventional-changelog -p angular && git add CHANGELOG.md",
"preversion": "npm run lint && npm run test",
"version": "npm run changelog",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/larsgw/sync-fetch.git"
},
"keywords": [
"fetch",
"sync"
],
"author": "Lars Willighagen",
"license": "MIT",
"bugs": {
"url": "https://github.com/larsgw/sync-fetch/issues"
},
"homepage": "https://github.com/larsgw/sync-fetch#readme",
"dependencies": {
"node-fetch": "^3.3.2",
"timeout-signal": "^2.0.0",
"whatwg-mimetype": "^5.0.0"
},
"devDependencies": {
"@ungap/url-search-params": "^0.2.2",
"browserify": "^17.0.0",
"chai": "^6.2.2",
"chai-iterator": "^3.0.2",
"chai-string": "^1.6.0",
"conventional-changelog": "^8.1.3",
"conventional-changelog-angular": "^9.4.0",
"form-data": "^4.0.0",
"mocha": "^12.0.1",
"parted": "^0.1.1",
"resumer": "0.0.0",
"standard": "^17.0.0",
"string-to-arraybuffer": "^1.0.2"
},
"overrides": {
"chai": "$chai"
},
"engines": {
"node": ">=22.12.0"
}
}