konva-frame
TypeScript icon, indicating that this package has built-in type declarations

1.4.6 • Public • Published

Production

Installation

Install the library and all dependencies

npm install konva-frame

Usage

Import what you need

import { Cue, ICue } from 'konva-frame'

Otherwise, import everything using

import * as KonvaFrame from 'konva-frame'

All classes can then be accessed using

KonvaFrame.<classname>

You can also import the library using a 'script' tag (change the version to the one you need)

<script src="https://unpkg.com/konva-frame@1.0.6/dist/konva-frame.js"></script>

Development

Installation

Install all dependencies

npm install

Local testing

Build and start the app

npm start

This will serve demo/index.html at localhost:8080. You can add additional html files in the demo folder and navigate to it through the browser.

Build and deploy

Build the app

npm run build

then publish to npm

npm publish

Usage

The bundle is imported in the HTML with the following line.

<script src="konva-frame.js"></script>

All classes can then be accessed using

KonvaFrame.<classname>

Test

To be added

Readme

Keywords

none

Package Sidebar

Install

npm i konva-frame

Weekly Downloads

11

Version

1.4.6

License

ISC

Unpacked Size

374 kB

Total Files

43

Last publish

Collaborators

  • scourthial