snapdragon-util
Utilities for the snapdragon parser/compiler.
Found 6004 results for parse function
Utilities for the snapdragon parser/compiler.
Lightweight utility for decoding function parameters and function output from Tron blocklchain transactions.
parseHTML function
Generate the origin from an URL or check if two URL/Origins are the same
Parse function to object with same key names as arguments names and values that you pass in same order.
A mature, feature-complete library to parse command-line options.
Transform stream that tokenizes CSS
Encode/decode DNS-SD TXT record RDATA fields
Functions for dealing with a PostgresSQL connection string
svg path parser
JSX support for Acorn Walk
Validate a date
Implementation of JSON that ignores BOM and thows friendly error
Safe Json Utils
Parse `.git/config` into a JavaScript object. sync or async.
Parses JavaScript objects into XML
Parses and determines if a given CSS Media Query matches a set of values.
decycle your json
Pure functions for color conversion and parsing
Walk an argv array with a handler function using minimist conventions
JSON.stringify & JSON.parse which can encode/decode buffers.
A drop-in replacement for JSON.parse that uses `jju` to give helpful errors
Encode/decode circular structures for converting to and from JSON.
Lightweight, streamed JSON parser in 748 bytes
Parse any input rectangle format
An advanced & customisable version of the javascript JSON.stringify() function.
Tools for manipulating semver strings and objects
A querystring parser that supports nesting and arrays, with a depth limit
Create parsers using parser combinators with helpful error messages
Strip comments from JSON. Lets you use comments in your JSON files!
Parse JSON with more helpful errors
parses XML BMFont files into a JavaScript object
Match balanced character pairs, like "{" and "}"
transform stream to cut css into rule-sized chunks
parses number and unit, '20px' into [20, 'px']
A tool like JSON.string and JSON.parse but can convert the type Function and RegExp in js object
Brings the node url api layer to whatwg-url class
Node.js path.parse() ponyfill
A very strict and proper argument parser.
HTML parser and serializer.
Like JSONStream, but using Minipass streams
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
Read a package.json file
parse string escapes (\n, \r, etc.)
Stringify any number into words, and parse number strings back to a number
A super light and fast JavaScript object (de)serialization that includes date, bigint, regex, etc.
Parses JavaScript objects into XML. This is a fork of the original js2xmlparser, with some additional features
Parse yes/no like values
Quickly parse & match URLs
quote and parse shell commands
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Parse String to Number based on configuration
Parse, validate, manipulate, and display dates
Fast and simple way to parse code context for use with documentation from code comments. Parses context from a single line of JavaScript, for functions, variable declarations, methods, prototype properties, prototype methods etc.
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
Toolbox to extract information from Vue component files for documentation generation purposes.
Small library to parse file listings into JavaScript objects
Parse and stringify BCP 47 language tags
Small footprint URL parser that works seamlessly across Node.js and browser environments
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Safe Json Utils
lightweight rgb/rgba to hex parser
loads a BMFont file in Node and the browser
Parse or stringify CSS font property.
Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, templates, and many other user cases.
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
A document path library for Node
parse, inspect, transform, and serialize content through syntax trees
Dominic Tarr's JSONStream using Rodd Vaggs' through2
small commonmark compliant markdown parser with positional info and concrete tokens
NodeJS binding for fast XML parsing.
Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.
mdast utility to parse markdown
Highly configurable, well-tested, JavaScript-based HTML minifier.
Parse and stringify URL query strings
Resolve npm package details, like name and base path, given an absolute path to a file inside a package
Parse and stringify space separated tokens
Parse HTML character references
remark plugin to add support for parsing markdown input
This project is ment to be used with Microsoft Azure Functions. This simple wrapper makes it easier to work with Azure Functions since common HTTP methods are wrapped to individual function calls within a specfic Azure Function. And in addition a function
Parse and stringify comma-separated tokens
Parse math interval
Walks a JavaScript AST and adds a "parent" property to each node
RFC4122 UUID parser
Date formatting and parsing
Parses set-cookie headers into objects
Parse an HTML meta refresh value.
Match balanced character pairs, like "{" and "}"
Extract repository info from a git remote URI
Parse milliseconds into an object
A set of cookie helpers for Next.js
JSON parse with prototype poisoning protection
Comment-preserving JSON / JSON5 parser
hast utility to create an element from a simple CSS selector
Lightweight alternative to semver, supporting absolute versions only
Lax `url.parse()` with support for protocol-less URLs & IPs
CSV parsing implementing the Node.js `stream.Transform` API
Reverse minimist. Convert an object of options into an array of command-line arguments.
Parse a url assuming `http` if no protocol or `//` is provided.
Pure JS implementation of the DOM Level 3 XPath specification
The missing parseBool function we all secretly want
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
Automatically convert any value to its best matching JavaScript type. Supports numbers, booleans, objects, arrays, BigInt, Symbol, comma-separated numbers, prefix stripping, allowed type enforcement and a plugin API.
Get the username (or 'owner' name) from a git/GitHub remote origin URL.
Get the protocols of an input url.
Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.
Time zone support for date-fns v3 with the Intl API
Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).
Stringify an authors object to `name <email> (url)`.
An advanced url parser supporting git urls too.
Regular expression for parsing an `author` string into an object following npm conventions.
Parse a tarball URL hosted in the npm registry
A high level git url parser for common git providers.
Reads the pixels of an image as an ndarray
Read and parse a JSON file synchronously
JSON parse with prototype poisoning protection
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
Read the closest package.json file
Parse paths (local paths, urls: ssh/git/etc)
hast utility to reparse a tree
Format dates with date.js and moment.js. Uses date.js to parse human readable date phrases, and moment to format the rendered output. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to be registere
Decorators for ASN.1 schemas building
Simple, fast, powerful parser toolkit for JavaScript.
Parse an exponential notation string into parts
Everything you need in JSON land. Parse JSON with comments, stringify objects with circular references, etc...
Returns a parse tree for a CSS source.
Parse length and angle CSS values and convert between units
Promise based JSON parser. Handles invalid JSON data gracefully.
detect when tap output is finished
Parse string values in package.json into objects.
fast-csv parsing package
Highly configurable, well-tested, JavaScript-based HTML minifier.
Binary parser with a fluent api
Read the closet Babel configuration file
Extracts all JSON objects from an arbitrary text document.
A convertor between XML text and Javascript object / JSON text.
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
markdown processor powered by plugins part of the unified collective
This package uses ES2015 decorators to simplify JSON schema creation and use
No nonsense protocol buffers schema parser written in Javascript
Converts the given value to an integer.
Require .json files with comments
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Parse CSS @import statements
Converts the given value to a string.
Parse CLI arguments.
Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and
Hook into the Node.js `require` function. This allows you to modify modules on-the-fly as they are being required.
hast utility to parse from HTML
Parse a year into its full number value
Parse the CSS font property value.
JSON parser and stringifier for custom numbers (e.g. BigInt)
A clean class-based API for parsing, editing, and creating INI files.
Parse and Serialize JSON-RPC2 messages in node.js or browser.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Safely evaluate JavaScript (estree) expressions, sync and async.
rehype plugin to parse HTML
Color string parser
A very fast streaming multipart parser for node.js
Extract code comments from string or from a glob of files using esprima.
Parse an npm package name and returns some mildly interesting details about it
Parse a github URL into an object.
Parse and generate MQTT packets like a breeze
A mature CSV toolset with simple api, full of options and tested against large datasets.
Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
unparse function of papaparse
Convert time strings to milliseconds
Parse query parameters in Connect or Express
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Manipulate sections in a markdown string. A 'section' is a block of content preceded by a valid markdown ATX heading.
Extremely fast implementation of node core url library
recma plugin to parse JavaScript
request body parsing for co
A gulp plugin to remove parts of code based on regular expressions.
Convert JSON to CSV
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
Fast and easy parser for declarations of import and export in ECMAScript/TypeScript
An asynchronous yieldable version of JSON.stringify and JSON.parse
estree (and esast) utility to parse from JavaScript
Search xml2js JSON documents with XPath query strings.
Parse a .gitignore or .npmignore file into an array of patterns.
Parses a link header and returns paging information for each contained link.
Fast and easy parser of statements in source code in any language ✂️
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
A simple function to resolve cli arguments.
Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.
retext plugin to parse Latin-script prose
Wicked Good XPath
Parse and stringify the HTML `<img>` srcset attribute
Extract the actual stack of an error
HTML processor powered by plugins part of the unified collective
A tiny (339B) utility for human-readable time differences between now and past or future dates.
A CSV parser for node.js
natural language processor powered by plugins part of the unified collective
A Parse.com REST API client for Node.js
hast utility that turns HTML into a syntax tree (while being small in browsers)
Traverse an object and convert all ISO strings into Dates.
A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.
extracts and replaces values and IDs in URLs
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
Embed data in other data and easily extract it when needed
Set, Get, Remove cookies on both client and server side with Next.js
Front matter parsing middleware based on gray-matter.
Parse a XML string into a proprietary syntax tree
Reads the pixels of an image as an ndarray
Transform environment variables into JSON object with sanitized values.
Render a gif and provide frames to draw.
Typed JSON parse and stringify for TypeScript
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.
glob-fs middleware for automatically ignoring dotfiles.
express.js inspired template-engine manager.
Very thin wrapper around js-yaml for directly reading in YAML files.
JavaScript library for quantity calculation and unit conversion
Parse js object paths using both dot and bracket notation. Stringify an array of properties into a valid path.
Parse and load environment files (containing ENV variable exports) into Node.js environment, i.e. `process.env`.
Parse code files and patch it without having to use an AST
Some useful tools for working with process.argv
Parse/stringify JSON and provide source-map for JSON-pointers to all nodes
Parse strings with a number and unit
Parse XML without Blowing Up Your Bundle Size
Parse JSON without risk of losing numeric information
A small, lightweight javascript library for working with currency values.
Converts value to an integer suitable for use as the length of an array-like object.
Parse http headers
Swagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers
Parse parentheses from a string
Music metadata parser for Node.js, supporting virtual any audio and tag format.
Convert PDF files into images using Poppler with promises. It achieves 10x faster performance compared to other PDF converters. Poppler library attached inside statically, so it has not require installation of poppler.
Parse title from Markdown content
Create a regular expression from a regular expression string.
Parse, clean, remove formatting (unformat) numbers in strings.
stringify objects containing functions
A convention for building command-driven CLI apps
Parse string into array of string elements
The simplest, most intuitive date and time library
Pure Javascript JSON to CSV converter.
parse a css color string
returns a Number from a localized price string
(IEC) Utility to parse a string bytes to bytes and vice-versa
Find the closest package.json file meeting specific criteria
Parse CLI help output
Convert a human readable duration string to a duration format
JSON.parse and stringify with better errors that respects formatting
Parse WKT (Well-known text) into geoJSON or stringify geoJSON into WKT
glob-fs middleware for automatically ignoring files specified in `.gitignore`
A Typescript wrapper around command-line-args with additional support for markdown usage guide generation
Walk the primary nodes of an esprima parse tree - fast.
Parse and convert SRT subtitles into JSON format.
Abstract syntax tree for excel formulas
Parse a decimal number with i18n format support (localized decimal points and thousands separators)