How to use the enketo-transformer.version function in enketo-transformer

To help you get started, we’ve selected a few enketo-transformer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kobotoolbox / enketo-express / app / models / cache-model.js View on Github external
function _addHashes( survey ) {
    survey.formHash = survey.formHash || survey.info.hash;
    survey.xslHash = survey.xslHash || transformer.version;
}

enketo-transformer

Library that transforms ODK-compliant XForms into a format that Enketo can consume

Apache-2.0
Latest version published 13 days ago

Package Health Score

76 / 100
Full package analysis

Popular enketo-transformer functions