mds-client
FIDO Metadata Service (MDS) Client
Retreives metadata table of contents (TOC) from MDS as well as any retreivable entries.
For more about FIDO, visit: https://fidoalliance.org
Installation
npm install mds-client
API
var MDSC = ;var mdsClient = /* opt */;mdsClient;mdsClient;
constructor(opts)
- the constructor takes an options object argument with the following options:url
(default: https://mds.fidoalliance.org) - the URL for fetching the MDS TOCparallelFetchLimit
(default: 5) - the number of parallel requests when fetching metadata entries
fetchToc
- returns a Promise that resolves to a object containing the MDS TOCfetchEntries
- returns a Promies that resolves to an Array of all metadata entries