This is the Linux app named jscodeshift whose latest release can be downloaded as v0.7.0.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named jscodeshift with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
jscodeshift
DESCRIPTION
jscodeshift is a toolkit for running codemods over multiple JavaScript or TypeScript files. It provides A runner, which executes the provided transform for each file passed to it. It also outputs a summary of how many files have (not) been transformed. A wrapper around recast, providing a different API. Recast is an AST-to-AST transform tool and also tries to preserve the style of original code as much as possible. As already mentioned, jscodeshift also provides a wrapper around recast. In order to properly use the jscodeshift API, one has to understand the basic building blocks of recast (and ASTs) as well. An AST node is a plain JavaScript object with a specific set of fields, in accordance with the Mozilla Parser API. The primary way to identify nodes is via their type. It's OK to not know the structure of every AST node type. The (esprima) AST explorer is an online tool to inspect the AST for a given piece of JS code.
Features
- Get jscodeshift from npm
- The CLI provides the a wide variety of options
- The transform is simply a module that exports a function of the form
- Holds information about the currently processed file
- This object exposes the jscodeshift library and helper functions from the runner
- This API is exposed for convenience, but you don't have to use it
Programming Language
JavaScript
This is an application that can also be fetched from https://sourceforge.net/projects/jscodeshift.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.