Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Node Init
# https://philna.sh/blog/2019/01/10/how-to-start-a-node-js-project/
npm set init.author.name "Your name"
npm set init.author.email "your@email.com"
npm set init.author.url "https://your-url.com"
npm set init.license "MIT"
npm set init.version "1.0.0"
git init
npx license $(npm get init.license) -o "$(npm get init.author.name)"
npx gitignore node
npx covgen "$(npm get init.author.email)"
npm init -y
git add -A
git commit -m "chore: initial commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment