Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
tlouisse authored Nov 12, 2024
1 parent 654d963 commit 7092474
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/fundamentals/node-tools/providence-analytics/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For instance for a repo "lion-based-ui" that extends @lion/\* we can answer ques

- etc...

Providence uses AST analysis for getting the most advanced analysis possible.
Providence uses abstract syntax trees (ASTs) to have the most advanced analysis possible.
It does this via the [oxc parser](https://oxc.rs/docs/guide/usage/parser.html), the quickest parser available today!

## Run
Expand All @@ -39,13 +39,13 @@ By default Providence ships these analyzers:
- match-imports
- match-subclasses

Let's say we run `find-exports`:
Let's say we run `find-imports`:

```bash
npx providence analyze find-imports
```

Now it retrieves all relevant data about es module exports.
Now it retrieves all relevant data about es module imports.
There are plenty of edge cases that it needs to take into account here;
you can have a look at the tests to get an idea about all different cases Providence handles for you.

Expand Down Expand Up @@ -82,7 +82,7 @@ npx providence analyze match-imports -t /importing/project -r /exporting/project

Providence comes with many tools for deep traversal of identifiers,
the (babel like) traversal of ast trees in oxc and swc and more.
Also more generic utils for caching and performant globing come delivered with Providence.
Also more generic utils for caching and performant globbing come delivered with Providence.

For a better understanding, check out the utils folders (tests and code).

Expand Down

0 comments on commit 7092474

Please sign in to comment.