path-root-regex
Regular expression for getting the root of a posix or windows filepath.
Found 6005 results for parse function
Regular expression for getting the root of a posix or windows filepath.
Parse json safely and at max speed
Transform stream that lets you peek the first line before deciding how to parse it
JavaScript parser, mangler/compressor and beautifier toolkit
parses ASCII BMFont files to a JavaScript object
Simple lightweight function takes an array of command-line arguments and returns a parsed object
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Low footprint ECMAScript source code parser
Querystringify - Small, simple but powerful query string parser.
Superfast runtime validators with only one line
Utility to parse a string bytes to bytes and vice-versa
Extremely fast implementation of node core url library
A library for teleporting rich data to another place.
walk an AST, quickly
Parse a PNG
Parse a passwd file into a list of users.
Get a list of function's argument variable names
Class for creating AST nodes.
DOMParser.parseFromString for XML with IE8 fallback
Utilities for the snapdragon parser/compiler.
Lightweight utility for decoding function parameters and function output from Tron blockchain transactions.
Lightweight utility for decoding function parameters and function output from Tron blocklchain transactions.
Generate the origin from an URL or check if two URL/Origins are the same
parseHTML function
A mature, feature-complete library to parse command-line options.
Encode/decode DNS-SD TXT record RDATA fields
Parse function to object with same key names as arguments names and values that you pass in same order.
Transform stream that tokenizes CSS
Validate a date
Functions for dealing with a PostgresSQL connection string
JSX support for Acorn Walk
svg path parser
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
decycle your json
Parses and determines if a given CSS Media Query matches a set of values.
Pure functions for color conversion and parsing
JSON.stringify & JSON.parse which can encode/decode buffers.
A drop-in replacement for JSON.parse that uses `jju` to give helpful errors
Walk an argv array with a handler function using minimist conventions
Encode/decode circular structures for converting to and from JSON.
Parse any input rectangle format
Lightweight, streamed JSON parser in 748 bytes
Tools for manipulating semver strings and objects
An advanced & customisable version of the javascript JSON.stringify() function.
A querystring parser that supports nesting and arrays, with a depth limit
Parse JSON with more helpful errors
Strip comments from JSON. Lets you use comments in your JSON files!
Create parsers using parser combinators with helpful error messages
parses XML BMFont files into a JavaScript object
transform stream to cut css into rule-sized chunks
parses number and unit, '20px' into [20, 'px']
Match balanced character pairs, like "{" and "}"
Brings the node url api layer to whatwg-url class
Node.js path.parse() ponyfill
A very strict and proper argument parser.
A tool like JSON.string and JSON.parse but can convert the type Function and RegExp in js object
HTML parser and serializer.
Read a package.json file
Like JSONStream, but using Minipass streams
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
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
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
Quickly parse & match URLs
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
parse string escapes (\n, \r, etc.)
Parse yes/no like values
Parse String to Number based on configuration
quote and parse shell commands
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.
Parse, validate, manipulate, and display dates
Toolbox to extract information from Vue component files for documentation generation purposes.
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Parse and stringify BCP 47 language tags
Small library to parse file listings into JavaScript objects
Small footprint URL parser that works seamlessly across Node.js and browser environments
loads a BMFont file in Node and the browser
Safe Json Utils
A document path library for Node
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.
Parse and stringify URL query strings
Dominic Tarr's JSONStream using Rodd Vaggs' through2
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
Highly configurable, well-tested, JavaScript-based HTML minifier.
small commonmark compliant markdown parser with positional info and concrete tokens
lightweight rgb/rgba to hex parser
NodeJS binding for fast XML parsing.
mdast utility to parse markdown
Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.
Resolve npm package details, like name and base path, given an absolute path to a file inside a package
Walks a JavaScript AST and adds a "parent" property to each node
Parse HTML character references
Parse and stringify space separated tokens
parse, inspect, transform, and serialize content through syntax trees
Parse math interval
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 milliseconds into an object
Parse and stringify comma-separated tokens
Parse an HTML meta refresh value.
Date formatting and parsing
A set of cookie helpers for Next.js
Match balanced character pairs, like "{" and "}"
Parses set-cookie headers into objects
Extract repository info from a git remote URI
RFC4122 UUID parser
JSON parse with prototype poisoning protection
Comment-preserving JSON / JSON5 parser
hast utility to create an element from a simple CSS selector
Parse a url assuming `http` if no protocol or `//` is provided.
Lightweight alternative to semver, supporting absolute versions only
CSV parsing implementing the Node.js `stream.Transform` API
Reverse minimist. Convert an object of options into an array of command-line arguments.
Pure JS implementation of the DOM Level 3 XPath specification
Lax `url.parse()` with support for protocol-less URLs & IPs
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.
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
Get the username (or 'owner' name) from a git/GitHub remote origin URL.
The missing parseBool function we all secretly want
Stringify an authors object to `name <email> (url)`.
Time zone support for date-fns v3 with the Intl API
Get the protocols of an input url.
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).
Parse a tarball URL hosted in the npm registry
Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.
A high level git url parser for common git providers.
Regular expression for parsing an `author` string into an object following npm conventions.
Reads the pixels of an image as an ndarray
An advanced url parser supporting git urls too.
Decorators for ASN.1 schemas building
JSON parse with prototype poisoning protection
Read the closest package.json file
Simple, fast, powerful parser toolkit for JavaScript.
Everything you need in JSON land. Parse JSON with comments, stringify objects with circular references, etc...
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
Read and parse a JSON file synchronously
Parse paths (local paths, urls: ssh/git/etc)
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
Parse an exponential notation string into parts
hast utility to reparse a tree
Highly configurable, well-tested, JavaScript-based HTML minifier.
Parse string values in package.json into objects.
Promise based JSON parser. Handles invalid JSON data gracefully.
Returns a parse tree for a CSS source.
Parse length and angle CSS values and convert between units
detect when tap output is finished
A convertor between XML text and Javascript object / JSON text.
This package uses ES2015 decorators to simplify JSON schema creation and use
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
fast-csv parsing package
Binary parser with a fluent api
Require .json files with comments
markdown processor powered by plugins part of the unified collective
Extracts all JSON objects from an arbitrary text document.
Parse CLI arguments.
Converts the given value to an integer.
No nonsense protocol buffers schema parser written in Javascript
Parse CSS @import statements
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Converts the given value to a string.
Read the closet Babel configuration file
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
hast utility to parse from HTML
Hook into the Node.js `require` function. This allows you to modify modules on-the-fly as they are being required.
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
Parse the CSS font property value.
Safely evaluate JavaScript (estree) expressions, sync and async.
Parse a year into its full number value
A clean class-based API for parsing, editing, and creating INI files.
Parse and Serialize JSON-RPC2 messages in node.js or browser.
rehype plugin to parse HTML
JSON parser and stringifier for custom numbers (e.g. BigInt)
A very fast streaming multipart parser for node.js
Parse a github URL into an object.
Parse query parameters in Connect or Express
Color string parser
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.
Parse and generate MQTT packets like a breeze
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
Convert JSON to CSV
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
unparse function of papaparse
A gulp plugin to remove parts of code based on regular expressions.
Extremely fast implementation of node core url library
Manipulate sections in a markdown string. A 'section' is a block of content preceded by a valid markdown ATX heading.
recma plugin to parse JavaScript
Convert time strings to milliseconds
Search xml2js JSON documents with XPath query strings.
request body parsing for co
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
Parse a .gitignore or .npmignore file into an array of patterns.
Parses a link header and returns paging information for each contained link.
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
Fast and easy parser of statements in source code in any language ✂️
Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.
Extract the actual stack of an error
retext plugin to parse Latin-script prose
Parse and stringify the HTML `<img>` srcset attribute
A simple function to resolve cli arguments.
extracts and replaces values and IDs in URLs
HTML processor powered by plugins part of the unified collective
natural language processor powered by plugins part of the unified collective
A CSV parser for node.js
A tiny (339B) utility for human-readable time differences between now and past or future dates.
hast utility that turns HTML into a syntax tree (while being small in browsers)
Traverse an object and convert all ISO strings into Dates.
Set, Get, Remove cookies on both client and server side with Next.js
A Parse.com REST API client for Node.js
A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
Wicked Good XPath
Front matter parsing middleware based on gray-matter.
Parse a XML string into a proprietary syntax tree
Transform environment variables into JSON object with sanitized values.
Reads the pixels of an image as an ndarray
Typed JSON parse and stringify for TypeScript
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.
Parse/stringify JSON and provide source-map for JSON-pointers to all nodes
Render a gif and provide frames to draw.
express.js inspired template-engine manager.
Parse js object paths using both dot and bracket notation. Stringify an array of properties into a valid path.
Some useful tools for working with process.argv
JavaScript library for quantity calculation and unit conversion
glob-fs middleware for automatically ignoring dotfiles.
Parse code files and patch it without having to use an AST
Embed data in other data and easily extract it when needed
Parse http headers
Parse JSON without risk of losing numeric information
Parse strings with a number and unit
Very thin wrapper around js-yaml for directly reading in YAML files.
Parse XML without Blowing Up Your Bundle Size
A small, lightweight javascript library for working with currency values.
Parse and load environment files (containing ENV variable exports) into Node.js environment, i.e. `process.env`.
Converts value to an integer suitable for use as the length of an array-like object.
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 parentheses from a string
Swagger 2.0 and OpenAPI 3.x parser and validator for Node and browsers
Music metadata parser for Node.js, supporting virtual any audio and tag format.
Parse, clean, remove formatting (unformat) numbers in strings.
The simplest, most intuitive date and time library