EGamalielGZ
EGamalielGZ9mo ago

How to install a local jsr library on deno and nodejs?

I'm developing a JSR library, but I want to taste it locally on a web framework
1 Reply
Deno AI Helper
Deno AI Helper9mo ago
I wasn't able to find the answer to your question in the official Deno documentation. However, based on your message, I can provide some general advice for Deno. In Deno, if you're developing a local module and want to test it, you can import it directly using a file path. For example:
import { myFunction } from './path/to/your/local_module.js';
import { myFunction } from './path/to/your/local_module.js';
Make sure that the path is correct and that you're using the .js extension, as Deno requires explicit file extensions. Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of this advice. For Node.js-related questions, I recommend consulting the Node.js documentation or community resources, as I am focused on Deno support.

Did you find this page helpful?