A lossless JSON5 tokenizer and parser for Node.js that maintains indentation, spacing, and comments.
Detect the indentation of code
JSON.parse with context information on error
Sass/SCSS language support for the CodeMirror code editor
Compact YAML, TOML, JSONC, JSON5 and INI parser and serializer
Lezer grammar for GROQ query language (CodeMirror 6)
Render indentation markers in CodeMirror
CSS language support for the CodeMirror code editor
Like read-package-json, but faster
Go language support for the CodeMirror code editor
A utility package to parse strings
A JavaScript parser
Block indentation feature for CKEditor 5.
the mighty option parser used by yargs
Node.js body parsing middleware
An ESLint custom parser which leverages TypeScript ESTree
Remove leading indentation from ES6 template literals.
JSON.parse and stringify with better errors that respects formatting
Detect the indentation of code (commonjs fork)
JavaScript language support for the CodeMirror code editor
> Selector parser with built in methods for working with selector strings.
Indent plugin for Plate
Strip redundant indentation and indent the string
Java language support for the CodeMirror code editor
Parses source code that defines context by indentation.
Parser for python-style (or haml, sass, etc...) indent markup languages
This utilities with CLI (Command Line Interface) for normalize indentation in your source code. This gem use the 'iparser' gem as a parser engine.
This gem removes common margin from indented strings, such as the ones produced by indented heredocs. In other words, it strips out leading whitespace chars at the beggining of each line, but only as much as the line with the smallest margin. It is acknowledged that many strings defined by heredocs are just code and fact is that most parsers are insensitive to indentation. If, however, the strings are to be used otherwise, be it for printing or testing, the extra indentation will probably be an issue and hence this gem.