TurboXML is a blazing-fast XML parser for React Native apps. Get 4× faster parsing with native performance, multithreading, and TurboModules.
Built using Kotlin (Android) and ready for the New Architecture, TurboXML is ideal for apps with large XML files like maps or offline configs.
Install with npm or yarn:
npm install react-native-turboxml
# or
yarn add react-native-turboxml
import { parseXml } from 'react-native-turboxml';
const xml = '<config><title>TurboXML</title><enabled>true</enabled><version>1.0</version></config>';
parseXml(xml).then(result => {
console.log(result);
});
TurboXML is built for performance. In our tests parsing large XML files, it reduced parsing time from 35 seconds to just 5 seconds. If you're working with offline maps, configuration files, or any XML-heavy logic, TurboXML is the best choice.
Read our deep dive on using TurboXML in React Native:
react-native-turboxml: Under the Hood