UNPKG

fhir-package-installer

Version:

A utility module for downloading, indexing, caching, and managing FHIR packages from the FHIR Package Registry and Simplifier

14 lines (13 loc) 482 B
/** * © Copyright Outburn Ltd. 2022-2025 All Rights Reserved * Project name: FHIR-Package-Installer */ /** * A shallow parser for JSON objects. * This function parses a JSON object string and returns a JavaScript object with only top-level primitive values. * All nested objects and arrays are ignored. * @param {string} input * @returns Object * @throws {TypeError} If the input is not a JSON object string. */ export default function shallowParse(input: string): {};