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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@opencor/opencor

v0.20251207.0

Published

A Web-based modelling environment for organising, editing, simulating, and analysing CellML files.

Readme

OpenCOR

OpenCOR is a frontend to libOpenCOR, a library that can be used to organise, edit, simulate, and analyse CellML files.

There are two versions of OpenCOR:

  1. OpenCOR: a desktop application that can be run on Intel-based and ARM-based Windows, Linux, and macOS machines; and
  2. OpenCOR's Web app: a Web app that can be run on a Web browser.

Some characteristics of this package are that:

  • It is built as a Vue 3 component using the Composition API.
  • It uses PrimeVue as its UI framework.
  • It uses Tailwind CSS for styling.
  • It can be used as a standalone Web app or embedded in a Vue 3 application.
  • It uses CSS containment to prevent CSS leakage when embedded in an application that uses a different UI framework.

Usage

The component comes with the following props:

| Name | Type | Default | Description | | ------- | ------------------------------------------ | ---------- | -------------------------------------------------------------------------------- | | omex | String | null | The URL of the OMEX file to use. | | theme | String: 'light', 'dark', or 'system' | 'system' | The theme to use. Note that it is set once and for all, i.e. it is not reactive. |

  • main.ts:
import { createApp } from 'vue';

import App from './App.vue';

createApp(App).mount('#app');

No omex prop provided

When no omex prop is provided, the component gives access to all of OpenCOR's features

  • App.vue:
<template>
  <div style="height: 100vh; height: 100dvh;">
    <OpenCOR />
  </div>
</template>

<script setup lang="ts">
import OpenCOR from '@opencor/opencor';
import '@opencor/opencor/style.css';
</script>

omex prop provided

When an omex prop is provided, the component goes straight into OpenCOR's simulation mode, using the specified OMEX file.

  • App.vue:
<template>
  <div style="height: 100vh; height: 100dvh;">
    <OpenCOR omex="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/ui/lorenz.omex" />
  </div>
</template>

<script setup lang="ts">
import OpenCOR from '@opencor/opencor';
import '@opencor/opencor/style.css';
</script>

Ask DeepWiki