Scryer NPM package #2838
guregu
started this conversation in
Show and tell
Replies: 1 comment
-
Amazing! Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I'd like to introduce the scryer package on NPM. It is a TypeScript package that embeds wasm Scryer and provides a light wrapper around the data types. The API is roughly based on trealla's NPM package (which I maintain). As the Scryer wasm implementation evolves I'll probably nudge it towards Scryer's official APIs, most of the Term related stuff at the moment is a straight port from trealla-js.
Repo is here: https://github.com/guregu/scryer-js
I also have a (hastily ported and kind of janky) online playground here: https://php.energy/scryer.html
Using this package in a browser is super easy, either with a bundler (
npm install scryer
) or through ES modules and a site like esm.sh.The test code provides some usage examples.
Thanks to everyone who has contributed to Scryer and especially to the wasm port!
Beta Was this translation helpful? Give feedback.
All reactions