没有合适的资源?快使用搜索试试~ 我知道了~
couchdb-compile:从目录,JSON或CommonJS模块构建CouchDB文档
共57个文件
js:19个
json:19个
_id:4个
需积分: 5 0 下载量 162 浏览量
2021-05-08
07:21:31
上传
评论
收藏 249KB ZIP 举报
温馨提示
couchdb编译 从目录,JSON或模块构建CouchDB文档。 原料药 compile(source[, options], callback) source -可以是对象, (请参见下文),JSON文件或CommonJS模块 options.index设置为true ,将在文件夹中搜索index.js ,如果存在的话将被视为CommonJS模块。 默认值为false 。 options.multipart设置为true ,附件将作为多部分处理。 默认值为false 。 callback -当使用两个参数完成时调用: error和doc 。 如果设置了options.multipart ,则将使用第三个参数( attachments来调用callback 。 这是所需的多部分附件数组: { name : 'rabbit.png' , content_type : 'i
资源推荐
资源详情
资源评论
收起资源包目录
couchdb-compile-main.zip (57个子文件)
couchdb-compile-main
.github
workflows
test.yml 388B
release.yml 548B
LICENSE 520B
test
compile-test.js 2KB
fixtures
file.json 156B
id-from-path
foo 4B
module
index.js 34B
_design
design-id-from-path-json.json 19B
design-id-from-path-module-index
index.js 34B
design-id-from-path
foo 4B
design-id-from-path-module.js 34B
_local
local-id-from-path
foo 4B
basic
views
numbers
map.js 70B
reduce 7B
language 11B
_id 13B
file.js 181B
full
views
names
map.js 66B
numbers
map.js 70B
reduce 7B
filters
doc.js 52B
rewrites.json 52B
lib
shows
hello.js 30B
shows
hello.js 76B
doc.js 72B
validate_doc_update.js 161B
language 11B
lists
docs.js 243B
updates
doc.js 162B
_attachments
index.html 51B
a
nested
file.txt 13B
_id 13B
minimal
_id 15B
array-example.js 81B
attachment
_attachments
attachment 13B
_id 19B
multipart-test.js 1000B
expected
basic.json 212B
_design
design-id-from-path-json.json 64B
design-id-from-path.json 59B
design-id-from-path-module.js.json 66B
design-id-from-path-module-index.json 72B
_local
local-id-from-path.json 57B
full.json 2KB
attachment.json 177B
minimal.json 30B
file.js.json 178B
module.json 38B
array-example.js.json 68B
id-from-path.json 44B
file.json.json 156B
README.md 3KB
.gitignore 25B
index.js 6KB
cli.js 532B
package-lock.json 982KB
package.json 1019B
共 57 条
- 1
资源评论
温暖如故
- 粉丝: 22
- 资源: 4642
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功