JSPM

@yakiisama/whale

0.0.4
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q13591F

    A tool can collect other tools in the web project

    Package Exports

    • @yakiisama/whale
    • @yakiisama/whale/dist/es/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yakiisama/whale) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    What

    A tool can collect other tools in the web project.

    Install

    npm install @yakiisama/whale

    Usage

    import * as Whale from '@yakiisama/whale';
    //or umd cdn https://cdn.jsdelivr.net/npm/@yakiisama/whale/dist/umd/index.min.js
    Whale.config({
        mainLogo: './src/assets/svelte.svg',
    }).createWhale({
        name: 'demo',
        desc: 'this is a demo',
        logo: './src/assets/img/cheese.svg',
        dom: a,
    }).createWhale({
        name: 'test',
        desc: 'this is a test',
        logo: './src/assets/img/ice-cream.svg',
        dom: b,
    });