A mdict(*.mdx/mdd) file parser.(JSI version)
npm install react-native-mdictimport { Mdict } from 'react-native-mdict';
// ...
// Create mdict instance
const mdict = new Mdict('xxx/Dictionary.mdx');
// Init mdict
await mdict.init();
// lookup and get result
const res = await mdict.lookup('sadasd');
// Search word with specific key
const list = await mdict.keyList('ab');Perhaps you have a need to render simple HTML, here is a solution: react-native-litehtml
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library