A web tool to explore the ASTs generated by various parsers.
-
Updated
Aug 20, 2020 - JavaScript
{{ message }}
A web tool to explore the ASTs generated by various parsers.
Codemod to migrate from Lodash get and logical and expressions to optional chaining
Codemods for AVA
https://astexplorer.net with ES Modules support and Hot Reloading
Codemod to convert curly braces syntax to angle brackets syntax
A collection of transforms for use with JSCodeshift
Currently, we have support for transforming static Methods on prototype from
Controller.staticMethod = function(param) {
var bar = "webpack-cli";
};to
static staticMethod(param) {
var bar = "webpack-cli";
}But, we don't have support for transforming object expressions like this:
Controller.optionsObject = {
bar: "webpack-cli"
};We need
The simplest tool to parse/transform/generate code on ast
JSCodeShift codemod that transforms usage of idx to the draft optional chaining standard.
Codemod script for migrating promise-based functions to use async/await syntax
A plugin system and CLI for consuming and executing jscodeshift codemods, in a way that is not terrible.
A Codemod with a collection of transforms to address Ember 3.x deprecations
A toolkit provide some codemod scripts based on jscodeshift to migrating react code base to typesceipt
sweet codemod commands for everyday work with Material UI
A codemod for automatically fixing issues reported by eslint-plugin-sort-class-members
jscodeshift transform and API for finding and replacing module names in import/require statements
Some codemod scripts to transform code for good styling
Codemod to add try catch to all the async await statements
Code modifiers using jscodeshift
Add a description, image, and links to the jscodeshift topic page so that developers can more easily learn about it.
To associate your repository with the jscodeshift topic, visit your repo's landing page and select "manage topics."
The
andmethod is not supported by Jest, where Chai does support it.It should probably cut the assertion in two:
Is this a feasible option for codemods?
If so: I'm willing to work on a PR.