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

How to include npm packages? Ethers.js? #341

Open
nousername1234500 opened this issue Oct 29, 2023 · 1 comment
Open

How to include npm packages? Ethers.js? #341

nousername1234500 opened this issue Oct 29, 2023 · 1 comment

Comments

@nousername1234500
Copy link

Hello,

I am wondering how I can include npm packages. I saw that there is a package.json and package-lock.json in the scripts folder, but how can I incorporate those? For example, how is springly included? Simply using "require" doesn't seem to work, although that does the job for lodash.
I am mainly aiming to include the npm module ethers.js.

Thanks.

@ppchavan001
Copy link

With Unreal.js, modules that depend on NodeJS won't work.
If you want to use node modules, PuerTS with nodejs backend could be a better choice.

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

No branches or pull requests

2 participants