Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add deno example #154

Merged
merged 3 commits into from
Nov 17, 2022
Merged

chore: add deno example #154

merged 3 commits into from
Nov 17, 2022

Conversation

yisibl
Copy link
Member

@yisibl yisibl commented Oct 7, 2022

Dependent on Deno 1.26.1

deno run --unstable --allow-read --allow-write --allow-ffi example/index-deno.js

@vercel
Copy link

vercel bot commented Oct 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
resvg-js ✅ Ready (Inspect) Visit Preview Nov 17, 2022 at 3:38AM (UTC)

@yisibl
Copy link
Member Author

yisibl commented Oct 7, 2022

@littledivy Thank you for your contribution to deno's support for the Node API, can you help review this PR?

Copy link

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM! You can also use --allow-hrtime for better performance.now() precision.

example/index-deno.js Outdated Show resolved Hide resolved
Dependent on deno 1.26.1

`deno run --unstable --allow-read --allow-write --allow-ffi example/index-deno.js`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants