Easily insert valid Schema.org JSON-LD in your Astro apps.
Parse user input into valid text search queries
generate random valid Shift format ASTs
Generate fake, valid numbers
JSON.minify() minifies blocks of JSON-like content into valid JSON by removing all whitespace *and* comments.
Wrap content in a comment that is valid for a given file type.
Detect if a string is a data URL
Convert Markdown to valid Vue Email template code.
CSS-Element-Queries Polyfill. Proof-of-concept for high-speed element dimension/media queries in valid css.
Rewrites an identifier string so its valid according to ES2015
Check if a value is a valid JSON object/array string (or a plain object), without try/catch on the caller side.
URI validation functions
CSSOM-valid and jsdom/Jest-compatible matchMedia polyfill for server-side unit tests
Determines whether a string is a valid javascript variable name. ES2015 and ES5 compatibility. Strict mode evaluation by default.
Check if a string or date object is a valid birthdate.
Check if a number is a valid REGON
A template to parsable tree transformer used to produce valid HTML content.
Checks if a given string is a valid npm package name adhering to npm rules and best practice
Create a valid HTML4 ID from an input value.
Calculates extent/bbox for a given valid geojson object.
cjson - Commented JavaScript Object Notation. It is a json loader, which parses only valid json files, but with comments enabled. Useful for loading configs.
A list of all valid top-level domains and is updated from time to time.
A Node.js library providing URL validation functionality to check whether a given string is a valid URL.
Validates if a pointer to window is valid. Used by Electron to validate the result of `TopLevelWindow.getNativeWindowHandle`.