Skip to content

Commit

Permalink
doc: Usage add Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
yisibl committed Aug 28, 2023
1 parent 37c172d commit b490b7d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ async function main() {
main()
```

### Bun

Starting with [Bun 0.8.1](https://github.com/oven-sh/bun/issues/172#issuecomment-1692930718), resvg-js can be run directly in Bun without any modification to the JS files, and is fully compatible with the syntax in Node.js.

```shell
bun example/index.js
```

### Deno

Starting with [Deno 1.26.1](https://github.com/denoland/deno/releases/tag/v1.26.1), there is support for running Native Addons directly from Node.js.
Expand Down

1 comment on commit b490b7d

@vercel
Copy link

@vercel vercel bot commented on b490b7d Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

resvg-js – ./

resvg-js-git-main-yisibl.vercel.app
resvg-js.vercel.app
resvg-js-yisibl.vercel.app

Please sign in to comment.