Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 17, 2024
1 parent 8914922 commit ed95167
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -7,7 +7,11 @@ Extend Babel AST for [magic-string](https://github.com/rich-harris/magic-string)
## Install

```bash
# npm
npm i magic-string-ast

# jsr
npx jsr add -D @sxzz/magic-string-ast
```

## Usage
Expand All @@ -30,7 +34,7 @@ s.moveNode(node, 0)
s.overwriteNode(node, 'foo')
```

For more APIs, see [magic-string](https://github.com/rich-harris/magic-string#usage).
For more APIs, see [docs](https://jsr.io/@sxzz/magic-string-ast/doc) and [magic-string](https://github.com/rich-harris/magic-string#usage).

## Sponsors

Expand Down

0 comments on commit ed95167

Please sign in to comment.