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

hexo-deployer-huaweicloud-obs

v1.0.0

Published

huaweicloud obs deployer plugin of Hexo.

Downloads

2

Readme

hexo-deployer-huaweicloud-obs

Huaweicloud obs deployer plugin for Hexo.

特性说明

  1. 支持增量同步本地文件目录到华为云OBS文件夹
  2. 支持设置是否同步删除OBS文件和目录
  3. 支持指定OBS同步目录
  4. 支持设置本地过滤文件和OBS过滤文件

安装

$ npm install hexo-deployer-huaweicloud-obs --save

Options

首先在 _config.yml做如下的配置:

deploy:
  type: "huaweicloud-obs"
  server : "https://obs.cn-north-1.myhwclouds.com"
  bucket: "obs-2f97"
  accessKeyId: "R7DYQD3DQRRLTDWYttE3S"
  secretAccessKey: "TERHf0NGpDrbhsbc1h3xymB9w22wK8lLgOhdgFkgjCB2"
  localFilesIgnorePattern: "^\\..*"
  remoteDir: "/"
  syncDeletedFiles: "yes"
  syncDeletedFilesIgnorePattern: "^\\..*"

| 名称 | 必选 | 默认值 | 描述 | | -- | -- | -- |-- | | server | 必填 | null | OBS服务器地址,以https://开头,不包含桶名称 比如https://obs.cn-north-1.myhwclouds.com | | bucket |必填 | null | OBS桶名称 | | accessKeyId | 必填 | null | 访问OBS的accessKeyId | | secretAccessKey | 必填 | null | 访问OBS的secretAccessKey | | localFilesIgnorePattern | 可选 | "^\.." | 本地忽略文件的正则表达式 与文件相对于public的相对路径相匹配,路径分隔符为/ 比如: img/avast.png | | remoteDir | 可选 | / | 同步到远端的目录,路径分隔符为/ | | syncDeletedFiles | 可选 | yes | yes或者no, 除syncDeletedFilesIgnorePattern匹配上的文件外 如果是yes,则本地文件删除后,OBS中的文件也会对应删除 | | syncDeletedFilesIgnorePattern | 可选 | "^\.." | 远端忽略文件的正则表达式 与文件相对于remoteDir的相对路径相匹配,路径分隔符为/ 比如: img/avast.png |