npm: package manager

    svelte-pts-canvas
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.8 • Public • Published

    svelte-pts-canvas

    A Svelte component for the Pts library.

    Installation

    npm install svelte-pts-canvas

    Usage

    import { PtsCanvas } from 'svelte-pts-canvas';
    
    // ...
    
    <PtsCanvas setup={{bgcolor: '#f0f'}} onAnimate={handleAnimate} />

    This is experimental. Take a look at the example in src/routes/index.svelte

    Developement

    npm run build
    
    // IMPORTANT to change directory before publish
    cd package
    npm publish

    Keywords

    none

    Install

    npm i svelte-pts-canvas

    DownloadsWeekly Downloads

    1

    Version

    0.0.8

    License

    Apache-2.0

    Unpacked Size

    15.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • williamngan