/client-js

JavaScript client for FHIR

Primary LanguageTypeScriptOtherNOASSERTION

SMART on FHIR JavaScript Library

This is a JavaScript library for connecting SMART apps to Fhir servers. It works both in browsers (IE10+) and on the server (NodeJS).

Installation

Install from npm:

npm i fhirclient

Documentation

The documentation for the upcoming release is available at http://docs.smarthealthit.org/client-js/.

Check out what's new in v2!


Contributing and Development

NPM Scripts

After you cd into to the project folder and run npm i, you can use npm scripts to handle any project-related task:

# run tests
npm test

# Build everything
npm run build

# Build all bundles (browser packages in dist/build)
npm run pack

# Build the CommonJS modules (for Node and bundlers)
npm run build:module

License

Apache 2.0