Comment Comment by 178 That is not an honest comparison, though. import { getCodec } from "iconv-lite"; would be var getCodec = require("iconv-lite").getCodec; parent 178 12 years ago