This package provides the precompiled iconv library, built using cpp.js, for easy integration into JavaScript, WebAssembly and React Native projects. It provides a high-performance solution for converting between character encodings, ensuring cross-platfo
npm install @cpp.js/package-iconv-ios-multithread``sh`
npm install @cpp.js/package-iconv
To enable the library, modify the cppjs.config.js file as shown below.
`diff
+import iconv from '@cpp.js/package-iconv/cppjs.config.js';
export default {
dependencies: [
+ iconv
]
paths: {
config: import.meta.url,
}
};
`
diff
+#include std::string Native::sample() {
+ return to_string(_LIBICONV_VERSION);
}
``iconv Homepage: https://www.gnu.org/software/libiconv/