mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
8f43bf17df
* refactor: improve node-api * chore: add test for run server
8 lines
166 B
JavaScript
8 lines
166 B
JavaScript
const { runServer } = require('../build');
|
|
|
|
(async () => {
|
|
const app = await runServer();
|
|
app.listen(4000, () => {
|
|
console.log('server started');
|
|
});
|
|
})();
|