GitHub repository: 1chiSensei/is-npm
Description: Check if your code is running as an npm or yarn script