Schema-based form sanitization that works on frontend and backend
micromark utility to sanitize urls
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Sanitize a string for use as a filename
rehype plugin to sanitize HTML
hast utility to sanitize nodes
Create and modify PDF files with JavaScript
TypeScript definitions for sanitize-html
Create and modify PDF files with JavaScript
A url sanitizer
The speed of a single-page web application without having to write any JavaScript
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
A JS implementation of JSONPath with some additional operators
Sanitize your express payload to prevent MongoDB operator injection.
Performant, flexible and extensible forms library for React Hooks
Terminal string styling done right
Virtual file format for text processing
Fast 3kb React-compatible Virtual DOM library.
Inquirer prompts, combined in a single package
Helper to sanitize mongodb queries against query selector injections
Encode FormData content into the multipart/form-data format
Better terminal and file output for cypress test logs.
Create and modify and encrypt PDF files with JavaScript
This gem allows you to describe your forms using a simple DSL and then takes care of sanitizing, transforming, and validating the input for you, providing you with the ready-to-use input in a model-like structure. Both simple forms as well as multi-step forms are supported. Includes handy accessors for automatically building the forms and reporting error messages using a templating engine of your choice. Localization support with builtin inflection rules can be enabled, too.
A Ruby on Rails gem that detects and sanitizes prompt injection attacks. Protects against direct injection (users hacking your LLMs via form inputs) and indirect injection (malicious prompts stored for other LLMs to scrape).