Catalog npm
PACKAGE EXPLORERView in registry

7niu

npm

qiniu cloud command line

cloudcomecommand lineqiniuydr.me
Versions collected23
Direct dependencies7From release 3.0.0
Last observed20 Oct, 21:10 UTC

README

Current package documentation

7niu

Build Status

七牛云存储命令行。

install

npm install -g 7niu

api

╔══════════════════════════════════════════════════════╗
║   7niu@2.3.0                                         ║
║   qiniu cloud command line                           ║
╚══════════════════════════════════════════════════════╝

1. Command
   upload                 >> upload files to qiniu
   init                   >> initial `7niu.json`
   clear                  >> clear upload cache
   version                >> show version information
   help                   >> show help information

2. Options
   -d --dirname           >> specified a directory

7niu.json

{
    "access_key": "your_access_key",
    "secret_key": "your_secret_key",

    // 仓库
    "bucket": "your_bucket",

    // 待上传资源的源目录,相当于`7niu.json`所在的目录
    "src": "./",

    // 上传的文件列表,支持通配符,相对于 src
    "upload": [
        "./**"
    ],

    // 上传的 CDN 目录
    "dest": "/test/",

    // 并行上传数量,默认10
    "parallel": 10
}

example

假设当前的资源目录是这样的:

- static
|-- js
|   `-- app
|       |-- abc.js
|       `-- def.js
|-- css
`-- 7niu.json

要上传的资源为./static/js/app/*,线上的 CDN URL 为/example.com/abc.js。

{
    ...
    upload: [
        './**/*'
    ],
    src: './static/js/app/',
    dest: '/example.com/'
}

version

2.x

  • 更好的命令行接口
  • 更好的版本控制

1.x

  • 实现基本上传功能

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 23

Collected releases
VersionPublishedDirect dependenciesOpen version
3.0.0Registry latest18 Dec 20157
2.4.013 Dec 20157
2.3.710 Nov 20157
2.3.69 Nov 20157
2.3.59 Nov 20157
2.3.49 Nov 20157
2.3.17 Nov 20156
2.3.07 Nov 20156
2.2.09 Oct 20156
2.1.08 Oct 20156
2.0.08 Oct 20156
1.2.21 Sept 20156
1.2.11 Sept 20156
1.2.01 Sept 20156
1.1.222 May 20156
1.1.022 May 20156
1.0.619 May 20156
1.0.519 May 20156
1.0.419 May 20156
1.0.319 May 20156

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
cloudcome/nodejs-7niu

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:054a3e5aa797860d541a6164905451b7e9502f05a86360a4d43244608199f68b