Lesson

Create a new project using the npm init <initializer> command

Historically, the npm init command was solely use to create a new package.json file. However, as of npm version 6.1, you can now use a new feature of npm init called the <initializer>. The initializer you provide will determine how your new application will...

Duration
4 min
Access
Free
Transcript
Available

Historically, the npm init command was solely use to create a new package.json file. However, as of npm version 6.1, you can now use a new feature of npm init called the <initializer>. The initializer you provide will determine how your new application will be built. npm will prepend create- to the name of the initializer and it'll use npx to temporarily install and execute that project.