- Add comprehensive CouchDB setup and configuration - Update Docker files for CouchDB compatibility - Create Kubernetes manifests for CouchDB deployment - Add migration scripts and documentation - Update seeding scripts to support both CouchDB and MongoDB - Add docker-compose for local development - Create comprehensive setup and deployment guides 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
23 lines
662 B
JavaScript
23 lines
662 B
JavaScript
'use strict';
|
|
|
|
exports.isNode = 'undefined' != typeof process
|
|
&& 'object' == typeof module
|
|
&& 'object' == typeof global
|
|
&& 'function' == typeof Buffer
|
|
&& process.argv;
|
|
|
|
exports.isMongo = !exports.isNode
|
|
&& 'function' == typeof printjson
|
|
&& 'function' == typeof ObjectId
|
|
&& 'function' == typeof rs
|
|
&& 'function' == typeof sh;
|
|
|
|
exports.isBrowser = !exports.isNode
|
|
&& !exports.isMongo
|
|
&& 'undefined' != typeof window;
|
|
|
|
exports.type = exports.isNode ? 'node'
|
|
: exports.isMongo ? 'mongo'
|
|
: exports.isBrowser ? 'browser'
|
|
: 'unknown';
|