To use phenopackets-js in your project, install it via npm:

npm install @berntpopp/phenopackets-js

or using yarn:

yarn add @berntpopp/phenopackets-js

Prerequisites

Your development environment should include:

  • Node.js (LTS versions recommended)
  • npm or yarn

Usage

After installation, you can import the library in your JavaScript/TypeScript code:

const pps = require('@berntpopp/phenopackets-js');

or using ES modules:

import * as pps from '@berntpopp/phenopackets-js';