0.10.0 • Published 5 months ago

@getodk/xforms-engine v0.10.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

@getodk/xforms-engine

Implementation of the ODK XForms specification's data model and computation logic. This package does not handle presentation or user interaction. Those aspects of forms are meant to be handled by a client. Presently, those clients are:

Install

Install with npm (or the equivalent command for your preferred package manager):

npm install @getodk/xforms-engine

Development

!NOTE All commands should be run from the root of the monorepo, not this package's subdirectory.

Test commands:

# Single run
yarn workspace @getodk/xforms-engine test-node:jsdom
yarn workspace @getodk/xforms-engine test-browser:chromium
yarn workspace @getodk/xforms-engine test-browser:firefox
yarn workspace @getodk/xforms-engine test-browser:webkit

# Watch mode (convenient during development)
yarn workspace @getodk/xforms-engine test-watch:jsdom
yarn workspace @getodk/xforms-engine test-watch:chromium
yarn workspace @getodk/xforms-engine test-watch:firefox
yarn workspace @getodk/xforms-engine test-watch:webkit

Supported/tested environments

  • Browsers (latest versions):
    • Chrome/Chromium-based browsers (tested only in Chromium)
    • Firefox
    • Safari/WebKit (tested in WebKit directly)
  • Non-browser runtimes with a DOM compatibility environement:
    • Node (current/LTS; tested with jsdom). Server-side rendering of forms is not presently supported or targeted beyond testing, though it may be considered in the future. Inclusion of Node in the automated test suites helps us to keep this option open.
0.10.0

5 months ago

0.9.0

6 months ago

0.8.0

6 months ago

0.5.0

10 months ago

0.7.0

7 months ago

0.6.0

7 months ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago