xds-extractor

0.5.0 • Public • Published

XDS Extractor

This package returns a json object with usefull information gathered from a XDS.b Repository response.

How to Use

simply import extract from xdsextractor in your code and call it in your code, as presented in the following block:

import extract from 'xdsextrator';
(...)
const info_json = extract(Repository_Response, template_id)

With this code, info_json will contain a structured json containing meaningful information of the requested repository document.

Parameters:

Parameter description obligatory
Repository_Response The returned response from your XDS.b Query, with or without the XOP request with boundaries ✔️
template_id The Document's template_id parameter Value of the requested repository document ✔️

Readme

Keywords

Package Sidebar

Install

npm i xds-extractor

Weekly Downloads

6

Version

0.5.0

License

ISC

Unpacked Size

6.34 kB

Total Files

3

Last publish

Collaborators

  • joao.menezes