MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / getDefaultExportFromCjs

Function getDefaultExportFromCjs

lib/models/dav.js:4–6  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

2var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
3
4function getDefaultExportFromCjs (x) {
5 return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
6}
7
8function getAugmentedNamespace(n) {
9 if (n.__esModule) return n;

Callers 1

dav.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected