Very basic Node.js template.
First, clone the template repo as your new project.
Here we are using the name my-project
as an example:
npx degit NicolasReibnitz/vite-template-node my-project
cd my-project
npm install
Now, search and replace the word template
with whatever command you would like to use as the library name.
npm run dev
npm run build