Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxt-modules/compression

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt-modules/compression

Compression module for Nuxt 3

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
increased by44.47%
Maintainers
1
Weekly downloads
 
Created
Source

@nuxt-modules/compression

@nuxt-modules/compression

npm version npm downloads Github Actions CI Codecov License

Assets Compression module for Nuxt 3

Features

📖  Read the documentation

Setup

yarn add @nuxt-modules/compression # yarn
npm i @nuxt-modules/compression # npm

Basic usage

Firstly, you need to add @nuxt-modules/compression to your Nuxt config.

// nuxt.config.js

{
  buildModules: [
    ['@nuxt-modules/compression']
  ]
}

And that's it! Now, the gzip compression will compress your static assets. For more configuration options (like brotli compression, filter assets, etc) please, visit the official docs.

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Keywords

FAQs

Package last updated on 23 Jan 2022

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