npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cosync

v1.0.8

Published

:wrench:快速上传本地文件夹到腾讯云COS. 开箱即用!

Downloads

6

Readme

cosync

快速上传本地文件夹到腾讯云COS

基于官方工具二次开发, 更加方便, 开箱即用!所有配置项都在运行时提示你如何配置, 并且会记录你的配置.

系统要求

  • nodejs
  • JDK (并且已将java.exe添加在系统PATH, 你在命令行执行java命令有结果就说明符合要求)

安装

$ npm install -g cosync

如何使用

例如你现在需要将本地的一个文件夹(c:\abc)上传到腾云讯COS.
将命令行路径切换到对应文件夹(在本例子中式 C:\abc), 然后执行如下指令

$ cosync run

原理

本项目基于腾讯COS同步工具包二次开发, 更加简化了用户操作. 它的同步策略是增量同步.(也就是不会删除云端已有的文件, 只会做覆盖文件操作, 更加安全, 但同时也带来文件冗余问题)
文件比较策略是 : 在本地维护一个已上传文件数据库,每次执行同步操作都会比较文件是否修改(与本地维护的数据库比较, 而不是与云端文件比较), 如果文件被修改就会被上传到腾讯云指定bucket

示例

第一次执行
ScreenShot

到腾讯云查看执行结果
ScreenShot

重复执行能看到已经保存的配置, 不需要重新填写配置, 但是你仍然可以修改某个配置项
ScreenShot