Never Push Mistakes

    @nebula.js/stardust
    TypeScript icon, indicating that this package has built-in type declarations

    3.1.2 • Public • Published

    stardust

    Stardust is a JavaScript library for building and embedding visualizations on top of Qlik's Associative Engine.

    Installation

    npm install @nebula.js/stardust

    Example usage

    import { embed } from '@nebula.js/stardust';
    import mekko from '@nebula.js/sn-mekko-chart';
    
    const orion = embed.createConfiguration({
      types: [{
        name: 'mekko',
        load: () => Promise.resolve(mekko);
      }]
    })(app);
    
    orion.render({
      element,
      type: 'mekko',
      fields: ['Product', 'Region', 'Sales']
    });

    Typescript

    Stardust comes with typescript definitions. It references the Qlik's Engine definitions published at @types/qlik-engineapi.

    When installing Stardust it also installs the package @types/qlik-engineapi. Use overrides in your package.json if the installed version deviates from the Qlik Engine you are using:

    {
      "overrides": {
        "@types/qlik-engineapi": "<your-engine-version>"
      },
      ...
    }

    Install

    npm i @nebula.js/stardust

    DownloadsWeekly Downloads

    6,558

    Version

    3.1.2

    License

    MIT

    Unpacked Size

    11 MB

    Total Files

    14

    Last publish

    Collaborators

    • niekvanstaveren
    • likang6688
    • ccm33
    • nilzona
    • qlikossbuild
    • veinfors
    • tobias-astrom-qlik