1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-13 02:20:18 +00:00
musix-oss/node_modules/encoding/lib/iconv-loader.js

15 lines
274 B
JavaScript
Raw Normal View History

2019-10-10 13:43:04 +00:00
'use strict';
var iconv_package;
var Iconv;
try {
// this is to fool browserify so it doesn't try (in vain) to install iconv.
iconv_package = 'iconv';
Iconv = require(iconv_package).Iconv;
} catch (E) {
// node-iconv not present
}
module.exports = Iconv;