https://github.com/deno-libs/parsec
🌌 Tiny body parser for Deno. Port of the milliparsec library.
https://github.com/deno-libs/parsec
body-parser body-parsers deno http typescript
Last synced: 3 months ago
JSON representation
🌌 Tiny body parser for Deno. Port of the milliparsec library.
- Host: GitHub
- URL: https://github.com/deno-libs/parsec
- Owner: deno-libs
- License: mit
- Created: 2021-03-06T20:07:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-26T16:14:24.000Z (over 1 year ago)
- Last Synced: 2024-10-05T06:55:01.823Z (9 months ago)
- Topics: body-parser, body-parsers, deno, http, typescript
- Language: TypeScript
- Homepage: https://nest.land/package/parsec
- Size: 28.3 KB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# parsec 🌌
[](https://nest.land/package/parsec) [![GitHub release (latest by date)][releases]][releases-page] [![GitHub Workflow Status][gh-actions-img]][github-actions]
[![Codecov][codecov-badge]][codecov] [![][docs-badge]][docs]Tiny body parser for Deno. Port of the [milliparsec](https://github.com/talentlessguy/milliparsec) library.
## Features
- supports JSON and urlencoded body parsing
- parses only when `Content-Type` header matches the parser's type
- custom callback function[releases]: https://img.shields.io/github/v/release/deno-libs/parsec?style=flat-square
[docs-badge]: https://img.shields.io/github/v/release/deno-libs/parsec?color=yellow&label=Documentation&logo=deno&style=flat-square
[docs]: https://doc.deno.land/https/deno.land/x/parsec/mod.ts
[releases-page]: https://github.com/deno-libs/parsec/releases
[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/deno-libs/parsec/main.yml?branch=master&style=flat-square
[codecov]: https://codecov.io/gh/deno-libs/parsec
[github-actions]: https://github.com/deno-libs/parsec/actions
[codecov-badge]: https://img.shields.io/codecov/c/gh/deno-libs/parsec?style=flat-square