🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@berntpopp/phenopackets-js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@berntpopp/phenopackets-js

JavaScript library for GA4GH Phenopackets, generated from protobuf definitions.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Phenopackets-JS

npm package CI Release Package Documentation

A JavaScript library for working with GA4GH Phenopackets, generated from the official phenopacket-schema protobuf definitions.

Quick Start

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

// Create a phenopacket
const phenopacket = new pps.v2.Phenopacket();
phenopacket.setId('example-1');

// Add metadata (required)
const metaData = new pps.v2.core.MetaData();
metaData.setCreated(pps.jsonUtils.dateToTimestamp(new Date()));
metaData.setCreatedBy('example-creator');
phenopacket.setMetaData(metaData);

Documentation

Full documentation, including guides and API reference, is available at: https://berntpopp.github.io/phenopackets-js/

License

  • Library: MIT License. See the LICENSE file.
  • Schema: BSD 3-Clause License by GA4GH. Copyright (c) 2018-2024, Global Alliance for Genomics and Health.

Keywords

ga4gh

FAQs

Package last updated on 18 May 2025

Did you know?

Socket

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.

Install

Related posts