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.
Parse an AWS Lambda function name into a name and a qualifier
Extract names from functions
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.
Low footprint ECMAScript source code parser
Simple lightweight function takes an array of command-line arguments and returns a parsed object
Superfast runtime validators with only one line
Querystringify - Small, simple but powerful query string parser.
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.
Class for creating AST nodes.
Get a list of function's argument variable names
Utilities for the snapdragon parser/compiler.
DOMParser.parseFromString for XML with IE8 fallback
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.
Lightweight utility for decoding function parameters and function output from Tron blocklchain transactions.
parseHTML function
A mature, feature-complete library to parse command-line options.
Encode/decode DNS-SD TXT record RDATA fields
Transform stream that tokenizes CSS
Parse function to object with same key names as arguments names and values that you pass in same order.
Validate a date
svg path parser
Functions for dealing with a PostgresSQL connection string
JSX support for Acorn Walk
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
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
Encode/decode circular structures for converting to and from JSON.
Walk an argv array with a handler function using minimist conventions
Parse any input rectangle format
Lightweight, streamed JSON parser in 748 bytes
Tools for manipulating semver strings and objects
Parse JSON with more helpful errors
A querystring parser that supports nesting and arrays, with a depth limit
An advanced & customisable version of the javascript JSON.stringify() function.
Create parsers using parser combinators with helpful error messages
Strip comments from JSON. Lets you use comments in your JSON files!
parses XML BMFont files into a JavaScript object
Match balanced character pairs, like "{" and "}"
parses number and unit, '20px' into [20, 'px']
transform stream to cut css into rule-sized chunks
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.
A tool like JSON.string and JSON.parse but can convert the type Function and RegExp in js object
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.
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
Parses JavaScript objects into XML. This is a fork of the original js2xmlparser, with some additional features
parse string escapes (\n, \r, etc.)
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Parse yes/no like values
quote and parse shell commands
Quickly parse & match URLs
Parse String to Number based on configuration
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
small commonmark compliant markdown parser with positional info and concrete tokens
A document path library for Node
Parse or stringify CSS font property.
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
Parse and stringify URL query strings
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.
lightweight rgb/rgba to hex parser
mdast utility to parse markdown
Highly configurable, well-tested, JavaScript-based HTML minifier.
Dominic Tarr's JSONStream using Rodd Vaggs' through2
NodeJS binding for fast XML parsing.
parse, inspect, transform, and serialize content through syntax trees
Parse and stringify space separated tokens
Parse HTML character references
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 math interval
remark plugin to add support for parsing markdown input
Parse and stringify comma-separated tokens
Parse milliseconds into an object
Parse an HTML meta refresh value.
Match balanced character pairs, like "{" and "}"
Extract repository info from a git remote URI
Parses set-cookie headers into objects
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
A set of cookie helpers for Next.js
Date formatting and parsing
hast utility to create an element from a simple CSS selector
JSON parse with prototype poisoning protection
Comment-preserving JSON / JSON5 parser
CSV parsing implementing the Node.js `stream.Transform` API
Lightweight alternative to semver, supporting absolute versions only
Lax `url.parse()` with support for protocol-less URLs & IPs
Reverse minimist. Convert an object of options into an array of command-line arguments.
Pure JS implementation of the DOM Level 3 XPath specification
Parse a url assuming `http` if no protocol or `//` is provided.
Get the protocols of an input url.
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.
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).
The missing parseBool function we all secretly want
A high level git url parser for common git providers.
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.
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.
Simple, fast, powerful parser toolkit for JavaScript.
Decorators for ASN.1 schemas building
JSON parse with prototype poisoning protection
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 the closest package.json file
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 string values in package.json into objects.
Parse an exponential notation string into parts
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
Returns a parse tree for a CSS source.
Promise based JSON parser. Handles invalid JSON data gracefully.
Parse length and angle CSS values and convert between units
A convertor between XML text and Javascript object / JSON text.
markdown processor powered by plugins part of the unified collective
This package uses ES2015 decorators to simplify JSON schema creation and use
detect when tap output is finished
Require .json files with comments
No nonsense protocol buffers schema parser written in Javascript
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
fast-csv parsing package
Binary parser with a fluent api
Parse CLI arguments.
Extracts all JSON objects from an arbitrary text document.
Converts the given value to a string.
Parse CSS @import statements
Converts the given value to an integer.
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
hast utility to parse from HTML
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.
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 query parameters in Connect or Express
Safely evaluate JavaScript (estree) expressions, sync and async.
Parse the CSS font property value.
Parse a year into its full number value
Hook into the Node.js `require` function. This allows you to modify modules on-the-fly as they are being required.
Parse a github URL into an object.
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 and Serialize JSON-RPC2 messages in node.js or browser.
A clean class-based API for parsing, editing, and creating INI files.
Color string parser
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.
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.
Extremely fast implementation of node core url library
Convert JSON to CSV
Convert time strings to milliseconds
A gulp plugin to remove parts of code based on regular expressions.
recma plugin to parse JavaScript
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Search xml2js JSON documents with XPath query strings.
unparse function of papaparse
Manipulate sections in a markdown string. A 'section' is a block of content preceded by a valid markdown ATX heading.
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
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
An asynchronous yieldable version of JSON.stringify and JSON.parse
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
Parse a .gitignore or .npmignore file into an array of patterns.
Parses a link header and returns paging information for each contained link.
retext plugin to parse Latin-script prose
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.
Extract the actual stack of an error
extracts and replaces values and IDs in URLs
natural language processor powered by plugins part of the unified collective
HTML processor powered by plugins part of the unified collective
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.
Set, Get, Remove cookies on both client and server side with Next.js
A CSV parser for node.js
A simple function to resolve cli arguments.
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.
A Parse.com REST API client for Node.js
Reads the pixels of an image as an ndarray
Traverse an object and convert all ISO strings into Dates.
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.
express.js inspired template-engine manager.
glob-fs middleware for automatically ignoring dotfiles.
Typed JSON parse and stringify for TypeScript
Parse/stringify JSON and provide source-map for JSON-pointers to all nodes
Some useful tools for working with process.argv
A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data.