Comparing version 1.0.1 to 1.0.2
#! /usr/bin/env node | ||
// const c = require("child_process"); | ||
// c.exec(`start https://www.npmjs.com/package/${process.argv[2]}`); | ||
const open = require("open"); | ||
open("https://www.npmjs.com/package/" + process.argv[2]); |
{ | ||
"name": "ding-doc", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "只有两行代码的命令行工具, 用于在默认浏览器中快速打开package在npm中的文档", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,2 +5,10 @@ # ding-doc | ||
## 安装 | ||
```sh | ||
npm i ding-doc -g | ||
# or | ||
yarn global add ding-doc | ||
``` | ||
## 使用 | ||
@@ -7,0 +15,0 @@ |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
948
5
20