1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/packages/node-api/examples/default.configuration.example.js
Juan Picado 8f43bf17df feat: improve node-api (#2165)
* refactor: improve node-api

* chore: add test for run server
2021-04-09 17:54:43 +02:00

9 lines
166 B
JavaScript

const { runServer } = require('../build');
(async () => {
const app = await runServer();
app.listen(4000, () => {
console.log('server started');
});
})();