D
Deno

help

Does Deno NPM support other registries like github npm registry?

S.s._.b9/7/2023
Does Deno NPM support other registeries like github and if so, does it support private registeries?
Rryanponce9/7/2023
Yes it does support private modules. You can see an example of using GitHub private modules here. https://deno.land/manual@v1.36.4/basics/modules/private#github
Deno
Private Modules | Manual | Deno
There may be instances where you want to load a remote module that is located in a private repository, like a private repository on GitHub.
S.s._.b9/9/2023
I mean being able to use https://npm.pkg.github.com for npm packages rather than https://registry.npmjs.org/
GitHub
GitHub Packages: Your packages, at home with their code
With GitHub Packages you can safely publish and consume packages within your organization or with the entire world.
Bbartlomieju9/9/2023
The standard NPM_REGISTRY env var should work
S.s._.b9/11/2023
Hi @.bartlomieju , thank you for the information. adapting the NPM_CONFIG_REGISTRY var works however i now have an authenication issues similer to these two issues https://github.com/denoland/deno/issues/19900 https://github.com/denoland/deno/issues/20195
GitHub
DENO_AUTH_TOKENS does not authenticate against npm.pkg.github.com ·...
Hi, I'm doing a POC to see if our company can start replacing node with deno. I have a private npm package in npm.pkg.github.com that I'm trying to import. I'm trying to run a single-li...
GitHub
Fetching from Private NPM Repo Doesn't Work/Misleading User Feedbac...
When I try to pull down a repo from my org's private NPM repository with the following command: NPM_CONFIG_REGISTRY="https://ghe.myorg.com/_registry/npm/@myorg/package" DENO_AUTH_TOKE...
S.s._.b9/11/2023
https://github.com/denoland/manual/pull/483 looking at this pull, it doesnt seem it is supported?
GitHub
Add NPM_CONFIG_REGISTRY to environment docs by NickTomlin · Pull ...
Related to: denoland/deno#16105 I think there is probably more work to do to flesh out support for private registries (e.g would be great to formalize things like auth configuration) but this at le...
Bbartlomieju9/11/2023
Ouch, i didn't know that. @dsherret can this be solved easily?
S.s._.b9/13/2023
@dsherret any thoughts?

Looking for more? Join the community!

Recommended Posts
Piping streams through a shell program (ffmpeg) and writing the output to a fileI've been trying to use `ffmpeg` on the backend of my super simple audio-uploading app. I can save tUsing Deno to run JavaScript from GolangI just started looking into this, but I'm looking for something like rogchap.com/v8go but it would bRust compile deno_runtime errorHi <:ferrisUpsideDown:920769146399100958> I've been this error when I'm compiling my code that uselsp bug?Is there any reason why intellisense would identify the type correctly, but after completion it woulConvert m3u8 stream to mp4?Hey. Whats the best /fastest way to convert a m3u8 stream (all files are in a local folder) to a norGetting error trying to download NPM package``` Download https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.6.0.tgz D`deno check` error: Cannot find name 'Deno'`In my project, `deno check` has started producing the error `TS2304 [ERROR]: Cannot find name 'Deno'Read CSV files inside zip file using the web streams APII need to read a number of csv files inside a zip file. The basic example I've got working so far isUnable to find local file with installed deno moduleI am working on porting the 'octoherd/cli' to Deno. One of the things it does is load a script modulImporting NPM packages with `npm:` where package has `@` in the nameI want to import the package `@hono/zod-openapi`, version `0.30` I tried to add to my `deno.json` lHow to use KV Connect?Hello there <:HelloThere:730465880991072285> Is there any plan an making an STD module for creatindlopen() from web urlHey, is it possible to provide a url to the dll file from a cdn server? For example if I want to dDoes calling `bundle` inside a handler make sense?hey all I wanted to understand if this is smart to do. I am using the `cacheRoot` option and wanted Is WASM generally faster than using Deno FFI?...Deno hanging when trying to connect with MongooseWhen I try to connect to MongoDB using Mongoose the whole process just hangs until eventually timingEmbeding Dino compiled code within rust (Tauri) code, inside main.rs during build compilation.Hi. Still not sure if this is question for Tauri community or Deno community, so I'll place on both