🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nos-upload-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nos-upload-cli

使用本地存储的nos config上传指定文件

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
2
-80%
Maintainers
1
Weekly downloads
 
Created
Source

nos-upload-cli

使用本地存储的nos config上传指定文件

代码结构借鉴了lofter-md

安装

npm i nos-upload-cli -g

使用方式

nos-upload <input-file-1> <input-file-2> <input-file-...> 
  • lofter-md共用Nos config的配置存储位置
  • 首次使用会要求输入Nos config的配置
  • 上传完成的文件地址将会输出在控制台
上传成功:
https://lofter.lf127.net/nos-upload-cli/1665459290761/xxx.js
https://lofter.lf127.net/nos-upload-cli/1665459290780/xxx.png

输出上述上传成功格式是为了适配Typora编辑器的自动上传图片功能所需输出格式,如有需要,可以增加CommandOption,自定义其他输出格式

FAQs

Package last updated on 11 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts