New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bili-sapp-cli

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bili-sapp-cli - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

14

index.js
#!/usr/bin/env node
var program = require('commander');
var download = require('download');
var ora = require('ora');
var projectTpl = 'http://localhost/1.zip';

@@ -11,3 +14,12 @@ program.version('0.0.1', '-v, --version');

.action(function (projectName) {
console.log('setup %s', projectName);
var spinner = ora('Downloading template ...').start();
download(projectTpl, projectName, {extract: true}).then(function () {
spinner.stop();
console.log(' Generated "%s".\n', projectName);
console.log(' To get started:\n');
console.log(' cd %s\n npm install\n npm run dev\n', projectName);
}).catch(function (error) {
spinner.stop();
console.error(error);
});
});

@@ -14,0 +26,0 @@

6

package.json
{
"name": "bili-sapp-cli",
"version": "0.0.1",
"version": "0.0.2",
"description": "Bilibili Small App Cli",

@@ -19,4 +19,6 @@ "main": "index.js",

"dependencies": {
"commander": "^2.15.1"
"commander": "^2.15.1",
"download": "^7.0.0",
"ora": "^2.1.0"
}
}

@@ -1,1 +0,3 @@

# Small App Cli
# Bilibili Small App Cli
`npm install bili-sapp-cli -g`
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