🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

fetch-abort

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-abort

fetch、abort

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
1
-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

fetch-abort

为web端fetch添加阻断功能(fetch-abort)

安装(install)

npm i fetch-abort --save

使用(use)

require('fetch-abor');

//es
import 'fetch-abort';

abort

	let demo = fetch('/api');
demo.abort()// 针对demo阻断(only demo abort)

fetch.abort(abortNum=10)//所有阻断(all abort)

Community

github npm

Keywords

fetch、abort

FAQs

Package last updated on 21 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts