diff options
Diffstat (limited to 'includes/external/addressbook/node_modules/chardet/lib/fs/node.js')
-rw-r--r-- | includes/external/addressbook/node_modules/chardet/lib/fs/node.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/chardet/lib/fs/node.js b/includes/external/addressbook/node_modules/chardet/lib/fs/node.js new file mode 100644 index 0000000..80b3b33 --- /dev/null +++ b/includes/external/addressbook/node_modules/chardet/lib/fs/node.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +let fsModule; +exports.default = () => { + if (typeof module === 'object' && typeof module.exports === 'object') { + fsModule = fsModule ? fsModule : require('fs'); + return fsModule; + } + throw new Error('File system is not available'); +}; +//# sourceMappingURL=node.js.map
\ No newline at end of file |