npm clear publish history code example
Example 1: npm package remove from npm website
npm unpublish <package-name>@<version>
Example 2: npm package remove from npm website
npm unpublish <package-name> -f
npm unpublish <package-name>@<version>
npm unpublish <package-name> -f