npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

heta-compiler

v0.12.1

Published

Programming platform for Quantitative Systems Pharmacology modeling in NodeJS

Readme

Heta project GitHub issues GitHub license status
Autotests Coverage Status GitHub npm CodeQL

Heta-compiler

Heta-compiler is a command-line tool for building and transforming models written in the Heta modeling language.

It combines modular model definitions and exports them to widely used simulation formats such as SBML, SimBiology, and tabular representations.

Heta-compiler is part of the Heta modeling project for quantitative systems pharmacology (QSP) and Systems Biology.

📚 Documentation
https://hetalang.github.io/hetacompiler/

Quick start

The example below shows how to create a simple reaction model and convert it to SBML, Simbiology, and Heta-Table format.

Step 1

Create a new directory called heta-conversion.

Step 2

Create a file index.heta inside the directory with the following content:

comp1 @Compartment .= 1;

A @Species { compartment: comp1 } .= 10;
B @Species { compartment: comp1 } .= 0;
r1 @Reaction { actors: A => 2B } := k1 * A * comp1;

k1 @Const = 1.2e-1;

This model describes a simple reaction converting A to B inside a compartment.

Step 3

Open the terminal (console) and run the following command in the project directory:

heta build --export=SBML,Table,Simbio

The compiler reads the index.heta entry file and generates output files in the dist directory.

Features

  • Modular model development using Heta language
  • Integration of model components from multiple sources (Heta, Excel, JSON/YAML, SBML)
  • Export to popular simulation formats
  • Suitable for automated workflows and CI pipelines
  • CLI tool suitable for scripting and CI pipelines

Installation

Heta Compiler can be installed on major operating systems.
See the installation guide for details.

About Heta

Heta is a domain‑specific modeling language (DSL) for dynamic models used in Quantitative Systems Pharmacology (QSP) and Systems Biology.

Heta-compiler provides a command-line interface and JavaScript API for checking, compilation, and transforming models written in Heta to different formats.

Getting help

  • 📖 Documentation: https://hetalang.github.io/
  • 🐞 Issue tracker: https://github.com/hetalang/heta-compiler/issues

Citation

Metelkin, E. (2021). Heta compiler: a software tool for the development of large-scale QSP models and compilation into simulation formats. Journal of Open Source Software, 6(67), 3708. https://doi.org/10.21105/joss.03708

License

Licensed under the Apache License 2.0.
See the LICENSE file for details.

This software is provided "as is", without any warranties or guarantees. Use it at your own risk. The author is not responsible for any issues, data loss, or damages resulting from its use.

Copyright © 2019-2026 Heta project