Skip to main content
Deno 2 is finally here 🎉️
Learn more

Planigale

JSR @planigale

Packages

Package Latest version
planigale JSR
sse JSR
testing JSR
body-parser JSR
schema JSR

Description

Minimalistic HTTP framework for Deno

@planigale/planigale

Main package with the core functionality, including routing, middleware, and request handling.

@planigale/sse

Server-Sent Events Source and Sink this package is not bound to Planigale and can be used with any Deno server framework or in browser. It’s entirely based on WEB API.

@planigale/testing

Superagent inspired testing library for Planigale. It allows you to test your application with and without running the server.

@planigale/body-parser

Middleware for Planigale that parses request body into JSON, text, or form data.

@planigale/schema

Middleware for Planigale that validates request body against JSON schema using ajv.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Make your changes and add tests
  4. Run tests: deno task check
  5. Commit your changes: git commit -am 'feat: add some feature' // use conventional commits
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request :D

License

MIT License

Copyright (c) 2024 Mateusz Russak