Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ding-doc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ding-doc - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

index.js
#! /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]);

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc