JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 135
  • Score
    100M100P100Q94064F
  • License MIT

Elysia compression plugin

Package Exports

  • @chneau/elysia-compression
  • @chneau/elysia-compression/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chneau/elysia-compression) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

elysia-compression

Installation

bun install @chneau/elysia-compression

Example

import { compression } from "@chneau/elysia-compression";
import { Elysia } from "elysia";

const app = new Elysia().use(compression()).listen(8080);