Skip to content

Instantly share code, notes, and snippets.

@vyspiansky
Last active November 21, 2023 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vyspiansky/e9736d24cb56cc4ac7cb93013f514207 to your computer and use it in GitHub Desktop.
Save vyspiansky/e9736d24cb56cc4ac7cb93013f514207 to your computer and use it in GitHub Desktop.
Start new Node.js project

How to start a new Node.js project:

npx license mit > LICENSE
npx gitignore node
npx covgen YOUR_EMAIL_ADDRESS
npm init -y

Source

or

git init
npx license $(npm get init.license) -o "$(npm get init.author.name)" > LICENSE
npx gitignore node
npx covgen "$(npm get init.author.email)"
npm init -y
git add -A
git commit -m "Initial commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment