cococo-file

0.1.2 • Public • Published

静态资源服务

静态资源的加载缓存

安装

npm i -g cococo-file

使用方法

yy  # 把当前文件夹作为静态资源服务器的根目录

yy -p 8080 # 设置端口号为 8080

yy -h localhost # 设置 host 为 localhost

yy -d /user # 设置根目录为 /usr

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    1
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i cococo-file

Weekly Downloads

3

Version

0.1.2

License

ISC

Unpacked Size

12.5 kB

Total Files

15

Last publish

Collaborators

  • cococo