Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajasegar/ast-finder
jscodeshift find api automatically generated from code
https://github.com/rajasegar/ast-finder
abstract-syntax-tree ast codemod codemods ember jscodeshift
Last synced: 2 months ago
JSON representation
jscodeshift find api automatically generated from code
- Host: GitHub
- URL: https://github.com/rajasegar/ast-finder
- Owner: rajasegar
- Archived: true
- Created: 2019-11-21T11:38:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-23T09:59:46.000Z (over 2 years ago)
- Last Synced: 2024-05-01T21:22:14.146Z (9 months ago)
- Topics: abstract-syntax-tree, ast, codemod, codemods, ember, jscodeshift
- Language: JavaScript
- Homepage: https://ast-tooling.vercel.app/
- Size: 3.29 MB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ast-finder
[Playground](https://ast-tooling.vercel.app/)
Read the [introductory blog post](http://hangaroundtheweb.com/2019/12/ast-finder-finding-ast-nodes-from-code/) for more details.
This is an interactive playground to build [jscodeshift](https://github.com/facebook/jscodeshift) find queries
for AST nodes from source code.![screenshot](https://github.com/rajasegar/ast-finder/blob/master/public/ast-finder-annotated.jpg)
## Prerequisites
You will need the following things properly installed on your computer.
* [Git](https://git-scm.com/)
* [Node.js](https://nodejs.org/) (with npm)
* [Ember CLI](https://ember-cli.com/)
* [Google Chrome](https://google.com/chrome/)## Installation
* `git clone ` this repository
* `cd ast-finder`
* `npm install`## Running / Development
* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).
* Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests).### Code Generators
Make use of the many generators for code, try `ember help generate` for more details
### Running Tests
* `ember test`
* `ember test --server`### Linting
* `npm run lint`
* `npm run lint:fix`### Building
* `ember build` (development)
* `ember build --environment production` (production)### Deploying
Specify what it takes to deploy your app.
## Further Reading / Useful Links
* [ember.js](https://emberjs.com/)
* [ember-cli](https://ember-cli.com/)
* Development Browser Extensions
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)