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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@deepsource/zeal

v0.12.39

Published

<div align="center">

Downloads

32

Readme

Zeal

DeepSourceDeepSource

Using in another library

Setting up tailwind

Add this in the tailwind.config.js

// tailwind.config.js
module.exports = {
  // import the tailwind config from Zeal.
  presets: [require('@deepsourcelabs/zeal/tailwind.config')],
  // Don't purge zeal styles
  purge: {
    enabled: true,
    content: ['./pages/**/*', './components/**/*', './node_modules/@deepsourcelabs/**/*.vue']
  }
}

Dev setup

Required Versions

  1. Node: v14@latest
  2. yarn: v1

Local setup instructions

  1. Clone the Repo using git clone https://github.com/DeepSourceCorp/zeal
  2. Run yarn to install all dependencies
  3. Run yarn storybook:serve to run the dev server and storybook for development

Building the library

The following NPM scripts help building the library

  1. yarn build-lib: This will build the library with main.ts as the input file
  2. yarn build-storybook: This will build the Storybook
  3. yarn build_icons: This will fetch the svg icons from the src/icons and build a JSON file
  4. yarn build:css: This will run post css and generate the CSS files for tailwind and other components
  5. yarn build-lib-icons: This will build the library, css files and the icons

Publishing

Before you begin, ensure you have the .npmrc file setup.

  1. Bump the version in package.json and commit that change
  2. Remove private: true from the package.json (revert after publishing)
  3. Run yarn test:unit && yarn build-lib-icons
  4. On successful test and build run npm publish

Note: Add private: true back after publishing. In CI, don't forget to run yarn before step 3

Adding icons

  1. For generic icons, replace all custom colors added to the SVG file with currentColor
  2. Optimize the SVG using SVGOMG
  3. Create a new SVG file unde the src/icons folder and paste the optimized SVG into it
  4. Run yarn build_icons to update the icons.json file
  5. Verify the icons look alright by starting the storybook locally using yarn storybook:serve
  6. Make a pull request for it with the screenshots of the icon preview in storybook