Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including nano-migration with all npm packages installed. Try it out:

var nanoMigration = require("nano-migration")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nano-migration v0.0.2

const nanomigrate = require('nano-migration'), config = { "servername": "http://localhost:5984", "username": "username", "password": "passsword", "databasename": "testdb" }, entities = { documents: [ { id: "document1", seed: { value: [ { ip: "test", visits: 4 }, { ip: "test2", visits: 5 }, { ip: "test3", visits: 1 } ] } }, { id: "document2", seed: { value: [ { ip: "test4", visits: 55 }, { ip: "test54", visitss: 53 }, { ip: "test99", visits: 23 } ] } }, ] //add other entities }

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free