isProjectAvailableOnNpm = projectName => {
  try {
    execSync(`npm view ${projectName}`, { stdio: 'ignore' })
    return true
  } catch (err) {
    return false
  }
}
Return true if the project is available on NPM, return false otherwise.

@param projectName
@returns boolean