Skip to content

Instantly share code, notes, and snippets.

View canonic-epicure's full-sized avatar
💭
Well-typed API for the world

Nickolay Platonov canonic-epicure

💭
Well-typed API for the world
View GitHub Profile
require('Task/Joose/NodeJS');
require('KiokuJS/Backend');
require('KiokuJS/Backend/CouchDB/Node');
require('KiokuJS/Feature/Class/OwnUUID');
use(['KiokuJS.Backend.CouchDB', 'KiokuJS.Linker'], function () {
var handle = new KiokuJS.Backend.CouchDB({
dbURL : 'http://10.0.0.1:5984/test'
});
var scope = handle.newScope();