Simple http file server that supports files and directories. Latest version: 2.2.1, last published: 3 years ago. Start using file-server in your project by running `npm i file-server`. There are 6 other projects in the npm registry using file-server.
file server supporting basic create, read, update, & delete for any kind of file. Latest version: 0.10.0, last published: 7 years ago. Start using crud-file-server in your project by running `npm i crud-file-server`. There are no other projects in the np
直接docker pull node 676M体积.不能忍. 这里使用docker pull node:alpine 打包完 135M 这里使用的基础镜像已经安装好了httpserver,当然也可以自己使用基础镜像制作 FROMregistry.cn-hangzhou.aliyuncs.com/laizhenwei/node:httpserver#MAINTAINERzhenweilai <181282945@qq.com>COPYwebapp /usr/local/webapp CMDcd /usr...
使用WebAssembly从来源大致可以两类 npm包/公司私包(针对如何发私包可以参考之前的如何在gitlab上发布npm包) 直接在项目目录中使用已经构建好的wasm 这两种情况我们接下来都会涉及。其实他们的处理方式都是一样的。下面我们就来讲讲Webpack/Vite是如何配置它们的。 Webpack 针对Webpack中使用WebAssembly,我们之前在Rust...
2Star1Fork3 wiseai/filebrowser 代码Issues0Pull Requests0Wiki统计流水线 服务 加入Gitee 与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :) 免费加入 已有帐号?立即登录 master dependabot/npm_and_yarn/frontend/vite-6.1.6
npm run build node./dist/main.js 这时候访问 http://localhost:3000 可以看到 hello world,说明服务跑成功了: 那如何通过 Docker 部署这个服务呢? 首先,如果你没安装 docker,可以从 docker.com 下载 docker desktop,它自带了 docker 命令: 跑起来可以看到本地的所有 docker 容器和镜像: ...
Parse Server FS Adapter The Parse Server File System Storage Adapter. Installation npm install --save @parse/fs-files-adapter Configuration {"appId":'my_app_id',"masterKey":'my_master_key',// other options// ..."filesAdapter":{"module":"@parse/fs-files-adapter","options":{"filesSubDir...
Install TiddlyServer globally usingnpm install tiddlyserver -g. Create yourconfig file. Runtiddlyserver --config ~/path/to/settings.json. Additional options are[--stay-on-error] [--dry-run]. All paths in the config are relative to the config file. The working directory is not used by Tid...
使用WebAssembly从来源大致可以两类 1.npm包/公司私包(针对如何发私包可以参考之前的如何在gitlab上发布npm包) 2. 直接在项目目录中使用已经构建好的wasm 这两种情况我们接下来都会涉及。其实他们的处理方式都是一样的。下面我们就来讲讲Webpack/Vite是如何配置它们的。
var url = 'http://127.0.0.1:8080/file/test.txt'; //要预览文件的访问地址window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(url)));http/https下载流url预览 很多系统内不是直接暴露文件下载地址,而是请求通过id、code等参数到通过统一的接口,后端通过id或...