🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@du012/npm-learning

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@du012/npm-learning - npm Package Compare versions

Comparing version
6.0.1
to
6.0.2
+8
-1
bin/hello.js
#!/usr/bin/env node
const commander = require('commander');
commander
.usage('[123123123123]')
.version('1.0.0', '-v, --version')
.option('-o, --liveReloadIsOff', 'set the livereload off')
.command('hi', 'run hi file')
.parse(process.argv)
.parse(process.argv)
console.log(commander.liveReloadIsOff)
console.log(commander.opts())
+5
-2
{
"name": "@du012/npm-learning",
"version": "6.0.1",
"version": "6.0.2",
"bin": {
"hello": "./bin/hello.js"
"hi": "./bin/hello.js"
},

@@ -17,3 +17,6 @@ "description": "this is my first package module",

"commander": "^6.2.1"
},
"peerDependencies": {
"react": "17.0.2"
}
}