legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
21 lines • 650 B
JavaScript
/**
* Browser shim for cosmiconfig.
* Config file discovery is a Node.js-only concern; this stub satisfies the
* import without pulling any Node.js APIs into the browser bundle.
*/
export const cosmiconfig = () => ({
search: async () => null,
load: async () => null,
clearLoadCache: () => { },
clearSearchCache: () => { },
clearCaches: () => { },
});
export const cosmiconfigSync = () => ({
search: () => null,
load: () => null,
clearLoadCache: () => { },
clearSearchCache: () => { },
clearCaches: () => { },
});
export default { cosmiconfig, cosmiconfigSync };
//# sourceMappingURL=cosmiconfig-shim.js.map