couchdb-update-views

Keep couchdb views up to date Dependency tracking by David

Usage no npm install needed!

<script type="module">
  import couchdbUpdateViews from 'https://cdn.skypack.dev/couchdb-update-views';
</script>

README

Keep couchdb views up to date Build Status Dependency Status Dependency tracking by David

Installation

npm install -S update-couchdb-views

Usage

To update your documents specify the path to a config file and a directory containing your design documents. Both paths can either by relative to your current working directory or full paths to the file on disk

cd <path to project folder>
node sync.js --config test/config.json --docsDir ./docs

Update code taken from here http://bravenewmethod.wordpress.com/2011/06/03/keeping-couchdb-design-docs-up-to-date-with-node-js/