Package Exports
- kataw
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kataw) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Kataw
An insane fast Javascript toolchain.
WIP
Kataw is a javascript toolchain with high focus on performance, and it's main goal is to unify functionality that has previously been separate tools.
It's core is an CST parser that emits an ECMAScript friendly CST and allows you to
parse ECMAScript® 2022 (ECMA-262 12th Edition) language specification.
The parser has build-in error recovery. It never throws an error unless a callback function has been provided as the parsers 3rd argument.
Various public API methods exist to extract info from the CST nodes.
This is what Kataw can do:
parse Javascript
typechecking (like Typescript and Flow)
transform current ECMA code to older ECMA versions (like Babel)
global API to perform AST manipulation and tree walkers
Pretty printing (like Prettier)
Grammar checker
Linting (like ESLint)
Minify (Like Terser)
Current state
Only the Kataw CST parser, walker, AST manipulation through global API is available as of now.
Soon as this code is in a "stable state" I will add the rest of the tools
Future
A "hook system" for adding additional rules for the linter and the grammar checker will be published.
Hooks to support experimental syntax and ECMA proposals in an sandboxed envirnonment