
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
fast-oss-cli
Advanced tools
fast-oss nodejs 命令行工具
可以在前端项目构建完毕之后,直接将静态目录整个上传到OSS
# npm
npm i fast-oss-cli -g
# yarn
yarn global add fast-oss-cli
# 输入命令后,根据提示操作
fastoss --init
# 将本地tmp/abc目录下的所有文件和子目录上传到远程bfd-test-cdn/abc目录中
fastoss -l tmp/abc -rd bfd-test-cdn/abc
服务器构建完成后,可以直接将构建完的静态目录直接上传到远程,在jenkins中追加使用fastoss
即可
# 由于是服务端构建, 一般不使用本地OSS信息,而是直接指明OSS信息
fasstoss -l dist -rd bfd-test-cdn/foo-h5/dist --accessKeyId xxxxxx --accessKeySecret xxxxxxxxx
创建本地OSS信息文件
远程目录
远程文件
# 如果要指明只上传一个文件,并且要完全自定义远程的文件名,使用-rf
fastoss -l tmp/111.txt -rf bfd-test-cdn/333.txt
本地目录或者文件
远程文件如果已经存在,强行覆盖
在命令行直接指明accessKeyId
在命令行直接指明accessKeySecret
在命令行直接指明bucket
在命令行直接指明region
FAQs
fast-oss aliyun oss cli
We found that fast-oss-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.