bucket-node:node.js的简单文件存储

时间:2024-06-06 23:06:27
【文件属性】:

文件名称:bucket-node:node.js的简单文件存储

文件大小:13KB

文件格式:ZIP

更新时间:2024-06-06 23:06:27

CoffeeScript

桶节点 node.js的简单文件存储 用法 警告,前面有Coffee-Script。 bucket = require 'bucket-node' data = bucket.initSingletonBucket 'mytestfile.db', (data) -> # Any data is available in data # Any data is available in bucket.bucket console.log "Data read from DB" # Create a new object newobj = {id:"i need an id", name:"my name is"} # Stash the new object data.set newobj # Commit any stashed objects to d


【文件预览】:
bucket-node-master
----.gitignore(97B)
----package.json(599B)
----bin()
--------cli.coffee(2KB)
--------bucket(109B)
----LICENSE(1KB)
----index.js(68B)
----README.md(2KB)
----lib()
--------bucket.coffee(9KB)
--------newgen.coffee(7KB)
--------httpBackup.coffee(451B)
--------rest.coffee(3KB)
----test()
--------test.coffee(9KB)

网友评论