[![npm version](http://img.shields.io/npm/v/@icepanel/core.svg?style=flat)](https://npmjs.org/package/@icepanel/core) [![npm size](https://img.shields.io/bundlephobia/min/@icepanel/core.svg)](https://npmjs.org/package/@icepanel/core) [![npm downloads](htt

Usage no npm install needed!

<script type="module">
  import icepanelCore from 'https://cdn.skypack.dev/@icepanel/core';


IcePanel Core

npm version npm size npm downloads github issues github prs

This package provides all the core elements and base classes required to create the backend for IcePanel plugins.


First install the package into your project.

npm install @icepanel/core
yarn add @icepanel/core


You can then create and export classes for the following plugin types:

  • AppPlugin
  • EnginePlugin
  • NetworkPlugin
  • ToolPlugin
  • VolumePlugin

See the example below of a simple IcePanel app plugin.

import { AppPlugin, IAppPlugin } from '@icepanel/core'

export interface IMyAppStore {}

export default class MyApp extends AppPlugin<IMyAppStore>
  implements IAppPlugin<IMyAppStore> {

  async init() {
    await super.init()
    console.log('My app is starting up')

  async destroy() {
    console.log('My app is being destroyed')
    await super.destroy()