A custom whitespace to text (and vice versa) parser.
micromark factory to parse markdown whitespace (found in lots of places)
Strip comments from JSON. Lets you use comments in your JSON files!
rehype plugin to parse HTML
hast utility to check if a node is inter-element whitespace
hast utility to parse from HTML
Trim whitespace inside and around CSS rules & declarations.
Strip leading whitespace from each line in a string
Error-tolerant ECMAScript parser
Print an AST with as little whitespace as possible
Check if a character is a whitespace character
My JavaScript parser
hast utility to get the plain-text value of a node
rehype plugin to collapse whitespace
Low footprint ECMAScript source code parser
List of whitespace sensitive HTML tag names
Fast 0-deps bash parser written in TypeScript
Returns true if the value passed is all whitespace.
Collapse the leading and trailing whitespace of a string
Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz
Format whitespace in HTML
Trim the whitespace within an array of GLSL tokens
Get v8 stack traces as an array of CallSite objects.
Manage whitespace characters within your editor.
Parses whitespace indented nested lists into a Ruby object of nested Hashes and Arrays.
A pure Ruby library for parsing INI documents. Preserves the structure of the original document, including whitespace and comments
Use to remove whitespace between html tags prior to parsing.
Tool used for parsing SDF files. SDF, simple data format, is a filetype for exchanging data wherein the data is padded by whitespace.
OSV is a high-performance CSV parser for Ruby, implemented in Rust. It wraps BurntSushi's csv-rs crate to provide fast CSV parsing with support for both hash-based and array-based row formats. Features include: Flexible input sources (file paths, gzipped files, IO objects, strings), configurable parsing options (headers, separators, quote chars), support for both hash and array output formats, whitespace trimming options, strict or flexible parsing modes, and is significantly faster than Ruby's standard CSV library.
A method's punctuation signature is its source, minus all letters, numbers, and whitespace. It can help you find similar methods, find long methods, and see how your methods are balanced. PuncSig parses your ruby classes and prints a report on your classes' punctuation signatures.
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.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.