Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chneau/elysia-compression
Elysia compression plugin
https://github.com/chneau/elysia-compression
compression elysia elysia-plugin elysiajs
Last synced: about 6 hours ago
JSON representation
Elysia compression plugin
- Host: GitHub
- URL: https://github.com/chneau/elysia-compression
- Owner: chneau
- License: mit
- Created: 2024-07-26T14:01:20.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-29T21:43:12.000Z (2 months ago)
- Last Synced: 2024-09-10T10:36:50.423Z (about 2 months ago)
- Topics: compression, elysia, elysia-plugin, elysiajs
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@chneau/elysia-compression
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elysia-compression
## Installation
```bash
bun install @chneau/elysia-compression
```## Example
```ts
import { compression } from "@chneau/elysia-compression";
import { Elysia } from "elysia";const app = new Elysia().use(compression()).listen(8080);
```## Changelog
### [1.0.11] - 2024-08-29
#### Fixed
- Fixed all tests. Compression if working again!
### [1.0.10] - 2024-08-27
#### Fixed
- Fixed potential null pointer exception.
### [1.0.9] - 2024-08-03
#### Fixed
- Working with elysia static, json and errors.
### [1.0.8] - 2024-08-03
#### Fixed
- Working with elysia static, json and errors.
### [1.0.7] - 2024-08-03
### Added
- Tests.
#### Fixed
- Working with elysia static.