Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "if-npm", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Check if your code is running as an npm or yarn project", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,4 +21,4 @@ <p align="center"><a href="https://nodei.co/npm/if-npm/"><img src="https://nodei.co/npm/if-npm.png"></a></p> | ||
``` | ||
$ node main.js | ||
```sh | ||
$ node kar.js | ||
# ┌─────────────┬────────┐ | ||
@@ -31,3 +31,3 @@ # │ (index) │ Values │ | ||
# └─────────────┴────────┘ | ||
$ npm run main | ||
$ npm run kar | ||
# ┌─────────────┬────────┐ | ||
@@ -40,3 +40,3 @@ # │ (index) │ Values │ | ||
# └─────────────┴────────┘ | ||
$ yarn run main | ||
$ yarn run kar | ||
# ┌─────────────┬────────┐ | ||
@@ -43,0 +43,0 @@ # │ (index) │ Values │ |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
is-npm |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3694
1