Socket
Socket
Sign inDemoInstall

@roshan-labs/http

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roshan-labs/http

Nuxt module for http


Version published
Weekly downloads
15
increased by650%
Maintainers
1
Weekly downloads
 
Created
Source

🔀 @roshan-labs/http

npm version npm downloads License Nuxt

对 Nuxt $fetch 的封装,统一请求配置

使用

  1. 添加 @roshan-labs/http 到项目中
# 使用 pnpm
pnpm add -D @roshan-labs/http

# 使用 yarn
yarn add --dev @roshan-labs/http

# 使用 npm
npm install --save-dev @roshan-labs/http
  1. @roshan-labs/http 添加进 nuxt.config.tsmodules 选项中
export default defineNuxtConfig({
  modules: [
    '@roshan-labs/http'
  ],
})

现在你可以在项目中使用此模块了 ✨

选项

开发

# 安装依赖
npm install

# 构建垫片
npm run dev:prepare

# 运行演练场模式
npm run dev

# 构建演练场模式
npm run dev:build

# 运行代码检查
npm run lint

# 运行测试
npm run test
npm run test:watch

# 发布
npm run release

License

MIT

Keywords

FAQs

Package last updated on 31 Jan 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc