0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05: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

8 lines
166 B
JavaScript

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