
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@chargo/fetch
Advanced tools
Using yarn
yarn add @heisea/fetch
import { initFetch } from '@heisea/fetch';
// 创建createFetch函数,参数为axios的配置,具体请参考axios。其中errTipFn为错误提示语的调用函数
// 在response.code为非0的情况下库会调用errTipFn方法,这里的Message.error则为elementui的风格,
// 可以根据ui框架定义不同的风格
const createFetch = initFetch({
baseURL: Config.baseUrl,
errTipFn: Message.error
});
export default fetch;
FAQs
公共fetch请求库
The npm package @chargo/fetch receives a total of 6 weekly downloads. As such, @chargo/fetch popularity was classified as not popular.
We found that @chargo/fetch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.