npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sn-date-picker

v1.0.1

Published

Nebula.js date picker visualization for Qlik Sense and embedded apps

Downloads

102

Readme

sn-date-picker

A Nebula.js date picker visualization for Qlik Sense and embedded apps.

The package publishes the supernova module for host web apps, and the same repo can still generate a Qlik extension bundle for tenant registration.

Install

npm install sn-date-picker @nebula.js/stardust

Use in a host app

Register the visualization type in your Nebula/Stardust configuration, then render it like any other supernova:

import embed from "@nebula.js/stardust";
import snDatePicker from "sn-date-picker";

const n = embed(app, {
  types: [
    {
      name: "sn-date-picker",
      load: () => Promise.resolve(snDatePicker),
    },
  ],
});

If you want to render existing saved objects from a Qlik app, keep the registered name aligned with the object type/load path used by the extension in Qlik Sense.

Package surface

The published package exposes:

  • CommonJS: dist/sn-date-picker.js
  • ESM: dist/sn-date-picker.esm.js
  • TypeScript declarations: dist-types/index.d.ts

The default export is the supernova factory from src/index.tsx.

Local development

Install dependencies:

npm install --legacy-peer-deps

Start the Nebula development server:

npm start

Build the JavaScript bundles:

npm run build

Build the full npm package surface, including declaration files:

npm run build:package

Preview the publish tarball:

npm run pack:check

Publish to npm

  1. Log in to npm with npm login.
  2. Bump the version with npm version patch, npm version minor, or npm version major.
  3. Run npm run pack:check.
  4. Publish with npm publish.

If you move to a scoped package name such as @your-org/sn-date-picker, publish with npm publish --access public.

Package for Qlik Sense

Build the Qlik extension bundle:

npm run sense:package

Build and deploy the extension:

npm run sense

Optional environment variables:

QLIK_EXTENSION_BUILD_PATH=../extension_build
QLIK_TENANT=your-tenant.eu.qlikcloud.com
PYTHON_BIN=python3

Testing

Run linting:

npm run lint

Run Playwright end-to-end tests:

npm run test:e2e

Open the Playwright report:

npm run test:e2e:report

Requirements

  • Node.js >= 18.10.0
  • Qlik Sense, if you also want to deploy the extension bundle

License

MIT