Skip to content

juanpicado/verdaccio-with-bun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verdaccio with Bun (>1.1.12)

Small example how to install dependencies from a private registry using verdaccio with bun.

  • Install dependencies (verdaccio itself) from a private registry bun install
  • Run verdaccio with bun
bun main.js
// main.js
import {runServer} from 'verdaccio';
(async () => {
    const app = await runServer(); // default configuration
    app.listen(4000, (event) => {
      // do something
    });
})();
// bunfig.toml
[install]
registry = "http://localhost:4873"

Juan Picado, 2024.

About

Example how to run verdaccio with Bun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published