There are a number of open-source libraries available for parsing HL7v2 messages in JavaScript.
| npm | Description | 
|---|---|
@redoxengine/redox-hl7-v2 | Developed by Redox, a healthcare API company. | 
@amida-tech/hl7 | Developed by Amida, a data and technology company. | 
Made by Anton Vasetenkov.