fn-args
Get the arguments of a function, arrow function, generator function, async function
Found 5973 results for parse function
Get the arguments of a function, arrow function, generator function, async function
A parser and converter for Tab Atkins's proposed color function in CSS.
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
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
Lightweight utility for decoding function parameters from Ethereum transactions.
Check that given string, function or arrow function have empty body, using `parse-function`.
Parse an AWS Lambda function name into a name and a qualifier
Extract names from functions
Retrieves parameter names from a function
Get the command from a shebang
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 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] }.
Read and parse a JSON file
An advanced & customisable version of the javascript JSON.stringify() function.
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.
Lightweight utility for decoding function parameters and function output from Tron blocklchain transactions.
Parse json safely and at max speed
JSON.parse with bigints support
Regular expression for getting the root of a posix or windows filepath.
parses ASCII BMFont files to a JavaScript object
Superfast runtime validators with only one line
Transform stream that lets you peek the first line before deciding how to parse it
JavaScript parser, mangler/compressor and beautifier toolkit
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.
Extremely fast implementation of node core url library
Utility to parse a string bytes to bytes and vice-versa
A library for teleporting rich data to another place.
walk an AST, quickly
Class for creating AST nodes.
Generate the origin from an URL or check if two URL/Origins are the same
Utilities for the snapdragon parser/compiler.
Parse a passwd file into a list of users.
Parse a PNG
Get a list of function's argument variable names
DOMParser.parseFromString for XML with IE8 fallback
Encode/decode DNS-SD TXT record RDATA fields
Validate a date
A mature, feature-complete library to parse command-line options.
Parse `.git/config` into a JavaScript object. sync or async.
JSON.stringify & JSON.parse which can encode/decode buffers.
Lightweight, streamed JSON parser in 748 bytes
JSX support for Acorn Walk
Transform stream that tokenizes CSS
The missing parseBool function we all secretly want
decycle your json
parseHTML function
Safe Json Utils
svg path parser
Functions for dealing with a PostgresSQL connection string
Lightweight utility for decoding function parameters and function output from Tron blockchain transactions.
Parses JavaScript objects into XML
Pure functions for color conversion and parsing
Implementation of JSON that ignores BOM and thows friendly error
Brings the node url api layer to whatwg-url class
A drop-in replacement for JSON.parse that uses `jju` to give helpful errors
Parse function to object with same key names as arguments names and values that you pass in same order.
Parses and determines if a given CSS Media Query matches a set of values.
Encode/decode circular structures for converting to and from JSON.
Walk an argv array with a handler function using minimist conventions
Parse JSON with more helpful errors
Tools for manipulating semver strings and objects
A tool like JSON.string and JSON.parse but can convert the type Function and RegExp in js object
A querystring parser that supports nesting and arrays, with a depth limit
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 "}"
Walks a JavaScript AST and adds a "parent" property to each node
transform stream to cut css into rule-sized chunks
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
Parse any input rectangle format
parses number and unit, '20px' into [20, 'px']
HTML parser and serializer.
Node.js path.parse() ponyfill
Create parsers using parser combinators with helpful error messages
Like JSONStream, but using Minipass streams
Stringify any number into words, and parse number strings back to a number
Read a package.json file
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.
A very strict and proper argument parser.
Safe Json Utils
Parse yes/no like values
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
Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Parse, validate, manipulate, and display dates
quote and parse shell commands
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Quickly parse & match URLs
parse string escapes (\n, \r, etc.)
Parses JavaScript objects into XML. This is a fork of the original js2xmlparser, with some additional features
It allows you to use methods such as where, limit, select, orderBy on JSON data.
Toolbox to extract information from Vue component files for documentation generation purposes.
Extract repository info from a git remote URI
Parse and stringify URL query strings
Get the username (or 'owner' name) from a git/GitHub remote origin URL.
Highly configurable, well-tested, JavaScript-based HTML minifier.
Small library to parse file listings into JavaScript objects
Parse String to Number based on configuration
Small footprint URL parser that works seamlessly across Node.js and browser environments
loads a BMFont file in Node and the browser
Dominic Tarr's JSONStream using Rodd Vaggs' through2
Parse and stringify BCP 47 language tags
small commonmark compliant markdown parser with positional info and concrete tokens
A document path library for Node
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.
mdast utility to parse markdown
Parse an HTML meta refresh value.
lightweight rgb/rgba to hex parser
Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.
Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects.
A set of cookie helpers for Next.js
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
parse, inspect, transform, and serialize content through syntax trees
Parse math interval
NodeJS binding for fast XML parsing.
RFC4122 UUID parser
Parse HTML character references
Parse milliseconds into an object
Resolve npm package details, like name and base path, given an absolute path to a file inside a package
Parse or stringify CSS font property.
Parse and stringify space separated tokens
Parse a url assuming `http` if no protocol or `//` is provided.
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
hast utility to create an element from a simple CSS selector
Parses set-cookie headers into objects
Lax `url.parse()` with support for protocol-less URLs & IPs
Comment-preserving JSON / JSON5 parser
Date formatting and parsing
Reverse minimist. Convert an object of options into an array of command-line arguments.
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.
CSV parsing implementing the Node.js `stream.Transform` API
Get the protocols of an input url.
A simple function to resolve cli arguments.
JSON parse with prototype poisoning protection
Lightweight alternative to semver, supporting absolute versions only
A high level git url parser for common git providers.
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).
Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.
Parse a tarball URL hosted in the npm registry
Pure JS implementation of the DOM Level 3 XPath specification
Time zone support for date-fns v3 with the Intl API
Regular expression for parsing an `author` string into an object following npm conventions.
Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.
An advanced url parser supporting git urls too.
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
Stringify an authors object to `name <email> (url)`.
JSON parse with prototype poisoning protection
Simple, fast, powerful parser toolkit for JavaScript.
Highly configurable, well-tested, JavaScript-based HTML minifier.
Decorators for ASN.1 schemas building
Parse paths (local paths, urls: ssh/git/etc)
Everything you need in JSON land. Parse JSON with comments, stringify objects with circular references, etc...
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
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
Require .json files with comments
Reads the pixels of an image as an ndarray
markdown processor powered by plugins part of the unified collective
Binary parser with a fluent api
Returns a parse tree for a CSS source.
Parse query parameters in Connect or Express
Parse length and angle CSS values and convert between units
Parse an exponential notation string into parts
Promise based JSON parser. Handles invalid JSON data gracefully.
Convert time strings to milliseconds
Converts the given value to a string.
Parse CLI arguments.
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Converts the given value to an integer.
Parse string values in package.json into objects.
Read the closest package.json file
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
This package uses ES2015 decorators to simplify JSON schema creation and use
Match balanced character pairs, like "{" and "}"
A convertor between XML text and Javascript object / JSON text.
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
Parse and Serialize JSON-RPC2 messages in node.js or browser.
No nonsense protocol buffers schema parser written in Javascript
Parse a github URL into an object.
Parse CSS @import statements
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 a year into its full number value
fast-csv parsing package
Extracts all JSON objects from an arbitrary text document.
Safely evaluate JavaScript (estree) expressions, sync and async.
A gulp plugin to remove parts of code based on regular expressions.
A very fast streaming multipart parser for node.js
A mature CSV toolset with simple api, full of options and tested against large datasets.
Extract code comments from string or from a glob of files using esprima.
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.
Read and parse a JSON file synchronously
Read the closet Babel configuration file
rehype plugin to parse HTML
Convert various time formats to milliseconds and throw if result is NaN
Parse and generate MQTT packets like a breeze
Parse an npm package name and returns some mildly interesting details about it
Parse the CSS font property value.
Search xml2js JSON documents with XPath query strings.
Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
glob-fs middleware for automatically ignoring dotfiles.
Convert JSON to CSV
Extremely fast implementation of node core url library
Extract the actual stack of an error
JSON parser and stringifier for custom numbers (e.g. BigInt)
A clean class-based API for parsing, editing, and creating INI files.
Color string parser
recma plugin to parse JavaScript
Takes a string, such as "1,2,3-10,5-8" and turns it into an array of numbers
Parse and stringify the HTML `<img>` srcset attribute
request body parsing for co
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
detect when tap output is finished
Convert various time formats to milliseconds
A convention for building command-driven CLI apps
Parses a link header and returns paging information for each contained link.
Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.
Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers
Transform environment variables into JSON object with sanitized values.
A CSV parser for node.js
estree (and esast) utility to parse from JavaScript
retext plugin to parse Latin-script prose
An asynchronous yieldable version of JSON.stringify and JSON.parse
extracts and replaces values and IDs in URLs
Parse a .gitignore or .npmignore file into an array of patterns.
Add the context of a json parse error to the error message with syntax highlighting if possible.
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
A tiny (339B) utility for human-readable time differences between now and past or future dates.
Some useful tools for working with process.argv
Set, Get, Remove cookies on both client and server side with Next.js
Wicked Good XPath
Fast and easy parser for declarations of import and export in ECMAScript/TypeScript
Parse a XML string into a proprietary syntax tree
Parse/stringify JSON and provide source-map for JSON-pointers to all nodes
Front matter parsing middleware based on gray-matter.
Find the closest package.json file meeting specific criteria
Reads the pixels of an image as an ndarray
HTML processor powered by plugins part of the unified collective
JavaScript library for quantity calculation and unit conversion
natural language processor powered by plugins part of the unified collective