software development

Using NPM global modules as project dependencies

Many NPM based development tools instruct users to install globally (i.e. npm install -g or yarn global add). While this sometime makes sense, I install global modules as project --dev dependencies whenever possible because it:allows the module version in use to be managed alongside other dependencies, keeping the team on the same or similar version,reduces the number of steps needed for new developers to get up and running as all...