nowfound

Dev tools · August 18, 2023

FA

Fetch API compatible, complex form data / JSON body parser and guard

Hi, We've been working on open sourcing our streaming complex body parser/guard and wouldn't mind some more people contributing. It features: - JSON, urlencoded AND multipart form data parsing - Out-of-the-box constraints for resulting object depth, key amount and size; definable globally and per call, preventing resource exhaustion by bailing on the stream if limits are exceeded - Multi-boundary (!) multipart form data parsing - Multidimensional array form data with auto-increment and explicit indexes (formElement[] vs formElement[0]) - Object form data with dot notation, including…

What it does

In the maker’s words, at launch

Hi, We've been working on open sourcing our streaming complex body parser&#x2F;guard and wouldn't mind some more people contributing. It features: - JSON, urlencoded AND multipart form data parsing - Out-of-the-box constraints for resulting object depth, key amount and size; definable globally and per call, preventing resource exhaustion by bailing on the stream if limits are exceeded - Multi-boundary (!) multipart form data parsing - Multidimensional array form data with auto-increment and explicit indexes (formElement[] vs formElement[0]) - Object form data with dot notation, including arbitrary amounts of nesting with arrays (<input name="foo.bar[].baz" value="it works!" &#x2F;>) - Typed output for the resulting object if you use a (user-specified) validator like Zod - Optional automatic casting for numbers and booleans in form data It's originally done for SvelteKit projects, but nothing's stopping you from using it in Hono, Next, etc. Thanks!

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, August 2023

the whole month →
  • Resend1,326

    Email for developers

    Dev tools · 2023 · resend.com

  • STORI AI1,320

    Your ideas become visually compelling branded social posts

    AI · 2023 · storiai.com

  • Kombai1,080

    A new AI model that you can prompt with UI designs

    AI · 2023 · kombai.com

  • Understand your audience without 50 interviews

    AI · 2023 · founderpal.ai

  • Lottielab871

    Create and ship lottie animations to sites and apps faster

    Dev tools · 2023 · lottielab.com

  • LC

    Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https:&#x2F;&#x2F;blog.normalcomputing.ai&#x2F;posts&#x2F;2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…

    AI · 2023 · github.com