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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kanopi/pack

v2.4.4

Published

Pre-packaged Webpack 5 configuration with extendable configuration to coordinate loaders and rules for common web stacks

Downloads

621

Readme

Kanopi Pack - Webpack Orchestration

Documentation Reference

Example Configurations

Why Kanopi Pack?

The main goals of Kanopi Pack are the following:

  • Consolidate management of many common Node module dependencies into a single module. This package is a wrapper for Webpack and coordinates its configuration and implemented modules.
  • Provide common configuration profiles to support many projects with minimal boilerplate
  • Builds a modular configuration interface to support future extension and replacement of key features, with less effort for implementing projects
  • Provide consistent Static Asset (JS/CSS/Images/etc) bundles across projects, with built-in incremental reloads for development environments
  • Support legacy JS/CSS code while incrementally adopting newer style applications, optionally using technologies like ES Modules and TypeScript or frameworks/libraries like React and Vue

When Kanopi Pack?

  • Are you using Grunt, Gulp, some other older technology, or even nothing to manage your static assets?
  • Do you want to incrementally add a front-end application, written in React or Vue, alongside your existing site JS code?
  • Do you want to start writing or supporting ES Modules, Modern CSS with PostCSS, SCSS, or Typescript within your project?
  • Do you want to utilize code quality tools like ESLint or StyleLint without managing additional modules and figuring out how to integrate it with your build pipeline?
  • Are you using static image/icon assets and want the ability to update them during development without a full bundle build or separate platform integration?

Since this is a wrapper for Webpack, if you are already using Webpack or similar process, you likely do not need to consider this. However, if you are using another similar package which requires you to maintain all of its dependencies, it may be worth a look.

How Kanopi Pack?

Kanopi Pack is installed via NPM anywhere in your project structure.

Installation

npm i @kanopi/pack

If you are trying to test a given feature request, use the following command to install the test package:

npm i https://github.com/kanopi/kanopi-pack.git#<feature/branch-path>

Where <feature/branch-path> is replaced with the branch name, no <>.

Configuration

Configuration is implemented via the Main Configuration File, with Preferred location and Section notes detailed here. The only required configuration section is a set of Entry Points.

Node & Package Compatibility

Dependency Limitations

| Package | Version | Notes | |:-------------------------|:--------|:-----------------------------------------------------------------------------------------------------------------------| | Chalk | 4.x | Chalk v5.x uses ESM which is not compatible with the rest of the Node modules used here, it is locked at v4.x for now. | | Commander | 11.x | There are some API changes which require further evaluation outside of a standard update. | | StyleLint | 15.x | Other Stylelint packages are restricted to 15.x maximum currently, will reevaluate in future cycles. | | StyleLint Webpack Plugin | 4.x | StyleLint 16.x and Node 18.x support, keeping back due to StyleLint version limitations | | Webpack Dev Server | 4.x | Dev Server API changes with version 5.x, requires evaluation outside of a standard maintenance cycle. |

Platform Software Requirements

| Package | Minimum | Recommended | |:--------|:--------|:------------| | Node | 22.x | 22.x | | NPM | 9.x | 10.x |

Dependent Packages

  • Kanopi Pack React and Kanopi Pack Vue versions both track with Kanopi Pack, use v1.x and v2.x accordingly