Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
enketo-transformer
Advanced tools
Library that transforms ODK-compliant XForms in a format that enketo-core consumes
NodeJS library that transforms OpenRosa/ODK XForms into a format the Enketo understands. It works both as a library module, as well as a standalone app.
npm install enketo-transformer --save
var transformer = require('enketo-transformer');
var xform = fs.readFileSync( 'path/to/xform.xml' );
var result = transformer.transform( {
xform: xform
} );
npm install
npm start
{
"form" : "<form>.....</form>",
"model": "<model>...</model>"
}
npm test
A vagrant configuration file and provisioning script is included.
See change log
FAQs
Library that transforms ODK-compliant XForms into a format that Enketo can consume
We found that enketo-transformer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.