fn-args
Get the arguments of a function, arrow function, generator function, async function
Found 6004 results for parse function
Get the arguments of a function, arrow function, generator function, async function
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
A parser and converter for Tab Atkins's proposed color function in CSS.
Converts function to its source code.
Retrieves parameter names from a function
A tiny function for parsing process.argv, a modern rewrite of minimist.
json2csv built-in formatters. A formatter is a function that receives the raw js value of a given type and formats it as a valid CSV cell.
Typed CLI argv parser and main function wrapper
Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects.
Check that given string, function or arrow function have empty body, using `parse-function`.
Lightweight utility for decoding function parameters from Ethereum transactions.
Extract names from functions
Parse an AWS Lambda function name into a name and a qualifier
Get the command from a shebang
Retrieves parameter names from a function
A function that accepts the full name of a person in any format, parses it, and returns its parts { title, first name, middle name, last name, nickname, suffix, [and any parsing errors] }.
json2csv built-in transforms. A transform is a function that receives a data recod and returns a transformed record. Transforms are executed in order before converting the data record into a CSV row.
A Javascript function for reading a variety of coordinate formats and converting to decimal numbers. Builds on other efforts by returning the verbatim coordinates and the decimal coordinates all in one object.
Read and parse a JSON file
JSON.parse with bigints support
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
Pollyfill for node.js `path.parse`, parses a filepath into an object.
Superfast runtime validators with only one line
Querystringify - Small, simple but powerful query string parser.
Simple lightweight function takes an array of command-line arguments and returns a parsed object
Utility to parse a string bytes to bytes and vice-versa
Low footprint ECMAScript source code parser
Extremely fast implementation of node core url library
A library for teleporting rich data to another place.
walk an AST, quickly
Parse a passwd file into a list of users.
Parse a PNG
Class for creating AST nodes.
Get a list of function's argument variable names
DOMParser.parseFromString for XML with IE8 fallback
Utilities for the snapdragon parser/compiler.
Generate the origin from an URL or check if two URL/Origins are the same
Lightweight utility for decoding function parameters and function output from Tron blockchain transactions.
Encode/decode DNS-SD TXT record RDATA fields
A mature, feature-complete library to parse command-line options.
Lightweight utility for decoding function parameters and function output from Tron blocklchain transactions.
parseHTML function
Transform stream that tokenizes CSS
Validate a date
Parse function to object with same key names as arguments names and values that you pass in same order.
Functions for dealing with a PostgresSQL connection string
svg path parser
Safe Json Utils
Implementation of JSON that ignores BOM and thows friendly error
Parse `.git/config` into a JavaScript object. sync or async.
Parses JavaScript objects into XML
decycle your json
Pure functions for color conversion and parsing
Parses and determines if a given CSS Media Query matches a set of values.
JSON.stringify & JSON.parse which can encode/decode buffers.
JSX support for Acorn Walk
A drop-in replacement for JSON.parse that uses `jju` to give helpful errors
Encode/decode circular structures for converting to and from JSON.
Parse any input rectangle format
Tools for manipulating semver strings and objects
Parse JSON with more helpful errors
Walk an argv array with a handler function using minimist conventions
A querystring parser that supports nesting and arrays, with a depth limit
Create parsers using parser combinators with helpful error messages
Match balanced character pairs, like "{" and "}"
parses number and unit, '20px' into [20, 'px']
parses XML BMFont files into a JavaScript object
Brings the node url api layer to whatwg-url class
Strip comments from JSON. Lets you use comments in your JSON files!
transform stream to cut css into rule-sized chunks
An advanced & customisable version of the javascript JSON.stringify() function.
Node.js path.parse() ponyfill
Lightweight, streamed JSON parser in 748 bytes
A very strict and proper argument parser.
HTML parser and serializer.
Read a package.json file
Stringify any number into words, and parse number strings back to a number
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
Like JSONStream, but using Minipass streams
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
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
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 string escapes (\n, \r, etc.)
Quickly parse & match URLs
quote and parse shell commands
A tool like JSON.string and JSON.parse but can convert the type Function and RegExp in js object
Parse yes/no like values
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
Toolbox to extract information from Vue component files for documentation generation purposes.
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
Small footprint URL parser that works seamlessly across Node.js and browser environments
small commonmark compliant markdown parser with positional info and concrete tokens
loads a BMFont file in Node and the browser
A document path library for Node
Parse and stringify URL query strings
Safe Json Utils
Parse or stringify CSS font property.
Highly configurable, well-tested, JavaScript-based HTML minifier.
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
mdast utility to parse markdown
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.
Dominic Tarr's JSONStream using Rodd Vaggs' through2
lightweight rgb/rgba to hex parser
Small library to parse file listings into JavaScript objects
Parse HTML character references
Parse and stringify space separated tokens
Walks a JavaScript AST and adds a "parent" property to each node
NodeJS binding for fast XML parsing.
Resolve npm package details, like name and base path, given an absolute path to a file inside a package
Parse math interval
parse, inspect, transform, and serialize content through syntax trees
Parse an HTML meta refresh value.
Parse milliseconds into an object
Extract repository info from a git remote URI
remark plugin to add support for parsing markdown input
Match balanced character pairs, like "{" and "}"
Parses set-cookie headers into objects
Parse and stringify comma-separated tokens
Date formatting and parsing
A set of cookie helpers for Next.js
hast utility to create an element from a simple CSS selector
JSON parse with prototype poisoning protection
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
RFC4122 UUID parser
Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.
CSV parsing implementing the Node.js `stream.Transform` API
Lightweight alternative to semver, supporting absolute versions only
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
Parse a url assuming `http` if no protocol or `//` is provided.
Get the protocols of an input url.
Comment-preserving JSON / JSON5 parser
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.
Stringify an authors object to `name <email> (url)`.
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).
A high level git url parser for common git providers.
Parse a tarball URL hosted in the npm registry
Reads the pixels of an image as an ndarray
Regular expression for parsing an `author` string into an object following npm conventions.
The missing parseBool function we all secretly want
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
Simple, fast, powerful parser toolkit for JavaScript.
Decorators for ASN.1 schemas building
An advanced url parser supporting git urls too.
Get the username (or 'owner' name) from a git/GitHub remote origin 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.
Parse string values in package.json into objects.
JSON parse with prototype poisoning protection
Parse paths (local paths, urls: ssh/git/etc)
Everything you need in JSON land. Parse JSON with comments, stringify objects with circular references, etc...
Parse an exponential notation string into parts
Read the closest package.json file
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
Highly configurable, well-tested, JavaScript-based HTML minifier.
hast utility to reparse a tree
Read and parse a JSON file synchronously
Parse length and angle CSS values and convert between units
Promise based JSON parser. Handles invalid JSON data gracefully.
A convertor between XML text and Javascript object / JSON text.
This package uses ES2015 decorators to simplify JSON schema creation and use
Require .json files with comments
No nonsense protocol buffers schema parser written in Javascript
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
Parse CLI arguments.
Converts the given value to a string.
fast-csv parsing package
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
Binary parser with a fluent api
Extracts all JSON objects from an arbitrary text document.
Parse CSS @import statements
Converts the given value to an integer.
hast utility to parse from HTML
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Returns a parse tree for a CSS source.
markdown processor powered by plugins part of the unified collective
Safely evaluate JavaScript (estree) expressions, sync and async.
Read the closet Babel configuration file
Parse query parameters in Connect or Express
Parse a github URL into an object.
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
rehype plugin to parse HTML
Parse and Serialize JSON-RPC2 messages in node.js or browser.
Parse a year into its full number value
A very fast streaming multipart parser for node.js
Hook into the Node.js `require` function. This allows you to modify modules on-the-fly as they are being required.
detect when tap output is finished
Color string parser
JSON parser and stringifier for custom numbers (e.g. BigInt)
A clean class-based API for parsing, editing, and creating INI files.
Parse an npm package name and returns some mildly interesting details about it
Extract code comments from string or from a glob of files using esprima.
A mature CSV toolset with simple api, full of options and tested against large datasets.
A gulp plugin to remove parts of code based on regular expressions.
Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
Extremely fast implementation of node core url library
Convert JSON to CSV
Parse the CSS font property value.
Convert time strings to milliseconds
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Search xml2js JSON documents with XPath query strings.
Parse and generate MQTT packets like a breeze
estree (and esast) utility to parse from JavaScript
Fast and easy parser for declarations of import and export in ECMAScript/TypeScript
request body parsing for co
An asynchronous yieldable version of JSON.stringify and JSON.parse
Parse a .gitignore or .npmignore file into an array of patterns.
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
recma plugin to parse JavaScript
Parses a link header and returns paging information for each contained link.
Extract the actual stack of an error
Parse and stringify the HTML `<img>` srcset attribute
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.
extracts and replaces values and IDs in URLs
natural language processor powered by plugins part of the unified collective
Manipulate sections in a markdown string. A 'section' is a block of content preceded by a valid markdown ATX heading.
HTML processor powered by plugins part of the unified collective
Set, Get, Remove cookies on both client and server side with Next.js
hast utility that turns HTML into a syntax tree (while being small in browsers)
A tiny (339B) utility for human-readable time differences between now and past or future dates.
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
A CSV parser for node.js
A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.
Traverse an object and convert all ISO strings into Dates.
retext plugin to parse Latin-script prose
Reads the pixels of an image as an ndarray
unparse function of papaparse
A simple function to resolve cli arguments.
A Parse.com REST API client for Node.js
Transform environment variables into JSON object with sanitized values.
express.js inspired template-engine manager.
Parse/stringify JSON and provide source-map for JSON-pointers to all nodes
Some useful tools for working with process.argv
Typed JSON parse and stringify for TypeScript
Wicked Good XPath
Render a gif and provide frames to draw.
Parse JSON without risk of losing numeric information
Parse js object paths using both dot and bracket notation. Stringify an array of properties into a valid path.