parser-combinators
jest-runner-prettier
parser-combinators | jest-runner-prettier | |
---|---|---|
1 | 1 | |
6 | 90 | |
- | - | |
3.4 | 0.0 | |
about 1 year ago | 5 days ago | |
TypeScript | TypeScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
parser-combinators
-
Casual Parsing in JavaScript
Parser combinators [0] are great for quick parsing, usage from typescript is very neat. You can collapse tokenisation, parsing and some evaluation for simple grammars (they appear in production from time to time) into single parser combinator phase (there’s nothing else) where you get desired, typed result.
[0] https://github.com/appliedblockchain/parser-combinators
jest-runner-prettier
-
Speeding up Prettier locally using the new –cache CLI option
You can run it through jest:
https://github.com/keplersj/jest-runner-prettier
Or run it through eslint through jest (which is what we do):
https://github.com/jest-community/jest-runner-eslint
https://www.npmjs.com/package/eslint-plugin-prettier
Either way gets you parallelism from jest. Personally I like the approach of using jest for all the "match files and run actions" logic (tests, lint etc) and then eslint for all the kinds of linting and formatting.
We then configure VSCode to lint autofix on save and get a really nice experience.
What are some alternatives?
instaparse
Joplin.Plugin.ReMoods.Theme - [NO LONGER MAINTAINED]
parser - String parser combinators
jest-runner-eslint - An ESLint runner for Jest
three-pass-compiler - Solution to the Three Pass Compiler kata on CodeWars, parsing and manipulating a very simple AST
jsonlint.com - [OLD] Please go to new source, link below.
yieldparser - Parse using JavaScript generator functions — it’s like components but for parsing!
parallel-prettier - Concurrent prettier runner
umbrella - ⛱ Broadly scoped ecosystem & mono-repository of 192 TypeScript projects (and 160+ examples) for general purpose, functional, data driven development