
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Node.JS library for serializing/deserializing FHIR resources between JS/JSON and XML using various node.js XML libraries.
Node.JS library for serializing/deserializing FHIR resources between JS and XML, and validating FHIR resources. The library uses technologies that are safe for use in browser-only applications (node.js is not required).
npm install fhir
To use in a node.js application, require the "fhir" module.
var Fhir = require('fhir');
To use in a browser application, reference dist/bundle.js.
<script type="text/javascript" src="node_modules/fhir/dist/bundle.js"></script>
npm test
var resource = {
resourceType: 'Patient',
...
};
var fhir = new Fhir();
var xml = fhir.objToXml(resource);
var obj = fhir.xmlToObj(xml);
var results = fhir.validate(xml, { errorOnUnexpected: true });
results = fhir.validate(obj, {});
API documentation can be found at http://lantanagroup.github.io/FHIR.js/
FAQs
Library that assists in handling FHIR resources. Supports serialization between JSON and XML, validation and FhirPath evaluation.
We found that fhir demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.