A little recursive descent parsing library
Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
Color string parser
Small footprint URL parser that works seamlessly across Node.js and browser environments
Parse HTML character references
JavaScript parser and stringifier for YAML
JSON.parse with context information on error
Node.js path.parse() ponyfill
Parses every stack trace into a nicely formatted array of hashes.
Parse the Forwarded header (RFC 7239) into an array of objects
JSON.parse with context information on error
An Esprima-compatible JavaScript parser built on Acorn
utility library for parsing asn1 files for use with browserify-sign.
hast utility to create an element from a simple CSS selector
Parsers, transformers and tests for special value types, eg: %, hex codes etc.
Parse HTTP Content-Type header according to RFC 7231
CSV parsing implementing the Node.js `stream.Transform` API
Parse JSON with more helpful errors
quote and parse shell commands
Parse milliseconds into an object
Pure TypeScript, cross-platform module for extracting text, images, and tabular data from PDFs. Run directly in your browser or in Node!
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 a passwd file into a list of users.
An advanced url parser supporting git urls too.
Green Button Data is a Ruby gem that can consume Green Button APIs and parse the Green Button data XML schema very quickly. It uses an event-driven SAX parser which parses XML data without building an entire DOM in memory.
PythonConfig is a module with classes for parsing and writing Python configuration files created by the ConfigParser classes in Python. These files are structured like this: [Section Name] key = value otherkey: othervalue [Other Section] key: value3 otherkey = value4 Leading whitespace before values are trimmed, and the key must be the at the start of the line - no leading whitespace there. You can use : or = . Multiline values are supported, as long as the second (or third, etc.) lines start with whitespace: [Section] bigstring: This is a very long string, so I'm not sure I'll be able to fit it on one line, but as long as there is one space before each line, I'm ok. Tabs work too. Also, this class supports interpolation: [Awards] output: Congratulations for winning %(prize)! prize: the lottery Will result in: config.sections["Awards"]["output"] == "Congratulations for winning the lottery!" You can also access the sections with the dot operator, but only with all-lowercase: [Awards] key:value [prizes] lottery=3.2 million config.awards["key"] #=> "value" config.prizes["lottery"] #=> "3.2 million" You can modify any values you want, though to add sections, you should use the add_section method. config.sections["prizes"]["lottery"] = "100 dollars" # someone hit the jackpot config.add_section("Candies") config.candies["green"] = "tasty" When you want to output a configuration, just call its +to_s+ method. File.open("output.ini","w") do |out| out.write config.to_s end
No description provided.
No description provided.
No description provided.