
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-turboxml
Advanced tools
A high-performance native XML parser for React Native built with Kotlin and Objective-C using TurboModules and the New Architecture.
A high-performance native XML parser for React Native using TurboModules and the New Architecture.
4× faster than JavaScript-based parsers like react-native-xml2js.
TurboXML (left) keeps the UI smooth while fast-xml-parser (right) freezes the entire app.
npm install react-native-turboxml
# or
yarn add react-native-turboxml
cd ios && pod install
import { parseXml } from 'react-native-turboxml';
const xml = `
<config>
<title>TurboXML</title>
<enabled>true</enabled>
<version>1.0</version>
</config>
`;
const result = await parseXml(xml);
console.log(result);
{
"config": {
"title": "TurboXML",
"enabled": "true",
"version": "1.0"
}
}
function parseXml(xml: string): Promise<Record<string, unknown>>;
| Parameter | Type | Description |
|---|---|---|
xml | string | The XML string to parse |
Returns: A Promise that resolves to a JavaScript object representing the parsed XML.
JavaScript-based XML parsers run on the JS thread and can block your UI during large file parsing. TurboXML uses native code on both platforms:
This means parsing happens on background threads and communicates directly via JSI – no bridge serialization overhead.
| Parser | Native | New Architecture | Async |
|---|---|---|---|
| react-native-turboxml | Yes | Yes (TurboModules) | Yes |
| react-native-xml2js | No | No | Yes |
| fast-xml-parser | No | No | No |
Contributions are welcome! Feel free to open issues or submit PRs.
MIT
FAQs
A high-performance native XML parser for React Native built with Kotlin and Objective-C using TurboModules and the New Architecture.
We found that react-native-turboxml demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.