pouchdb-ensure (npm): Creates a doc or updates it, but only when necessary.
Keywords: pouchdb|pouchdb-plugin|ensure|sure|save|put|ddoc|design|doc