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

licss

v0.1.0

Published

Gulp plugin 'licss' designed for style transformation workflows, and supported .css, .scss, .sass and .pcss files. You can use it to process Bootsrtap framework CSS files (sass version 1.78.0 was used here for the stop warning)

Readme

licss

Gulp plugin "licss" designed for style transformation workflows, and supported .css, .scss, .sass and .pcss files. You can use it to process Bootsrtap framework CSS files (sass version 1.78.0 was used here for the stop warning).

Its main features include:

  1. Compiler Selection

The plugin uses the SASS/SCSS (Dart SASS) or LightningCSS (from Parcel) compiler for CSS files depending on the configuration (options "compiler"). LightningCSS is then used for CSS concatenation/minification, including compatibility with target browsers (via browserslist).

CSS, SASS and SCSS style files are first processed by the SASS processor, with import entries pre-set in the files. The LightningCSS compiler is used for post-processing. For other style files with extensions other than SASS, SCSS and CSS (e.g. postcss style files), only LightningCSS processing is used.

All files can use the import of style files with the @import.

To create source map files, you need to use the src() and dest() functions option, details in the GALP documentation.

  1. Post-Processing

Supports options like:

  • full: Minify + Autoprefixer
  • minify: Only minify CSS
  • autoprefixer: Add vendor prefixes
  • none: Skip post-processing

For browser support, use the browserlist settings, the default settings are "> 0.2%, last 2 major versions, not dead".

  1. PurgeCSS Integration

Removes unused CSS in production builds (via purgeTransform). Respects content globs and skippedContentGlobs for pruning. If the PurgeCSS option is enabled, a new source map is created after purging the file.

You can create a configuration for PurgeCSS use this docunentation.

  1. Source Map Management

Generates/updates source maps for debugging (controlled by sourceMap flag). Normalizes paths in maps for cross-platform consistency.

  1. Validation & Error Handling

Validates file extensions, compiler/postprocess options, and load paths. Throws descriptive errors for unsupported inputs.

  1. Rename files

if you need to rename a file, you can import the gulp function "rename" from licss

install:

npm add -D licss

options:

options?: {
    compiler?: 'sass' | 'lightningcss' // use SASS/SCSS or LightningCSS compiler for CSS files
    postprocess?: 'full' | 'minify' | 'autoprefixer' | 'none' // Post-Processing via LightningCSS
    loadPaths?: string[]  // paths for files to imports for SASS/SCSS compiler
    purgeOptions?: UserDefinedOptions  // remove unused CSS from file - options PurgeCSS
    silent?: boolean // enable/disable information messages about the progress of the compilation process
}

default options:

{
    compiler: 'sass',
    postprocess: 'full',
    loadPaths: [dirname(file.path), join(file.cwd, 'node_modules')]
    purgeOptions: null,
    silent: true // disable
}

sample:

import { src, dest, series } from 'gulp'
import licss, { rename } from 'licss'

const purgecss = {
  content: ['src/*.html', 'src/assets/scripts/**/*.ts'],
}

// sample task for css files
function css() {
  return src(['src/styles/*.css'], { sourcemaps: true })
    .pipe(licss({
        silent: false,
        compiler: 'lightningcss',
        postprocess: 'minify',
        purgeOptions: purgecss,
      }))
    .pipe(dest('dist/css', { sourcemaps: '.' }))
}

// sample task for sass files
function sass() {
  return src(['src/sass/*.{sass,scss}'], { sourcemaps: true })
    .pipe(licss({
        silent: false,
        postprocess: 'full',
        purgeOptions: {
          content: [
            'src/sass/*.html',
            'src/assets/scripts/**/*.ts',
            'node_modules/bootstrap/js/dist/dom/*.js',
            'node_modules/bootstrap/js/dist/dropdown.js',
          ],
          safelist: [/show/],
          keyframes: true,
        },
      }))
    .pipe(dest('dist/css', { sourcemaps: '.' }))
}

// sample task for postcss files
function pcss() {
  return src(['src/pcss/styles/main.pcss'], { sourcemaps: true })
    .pipe(licss({
        silent: false,
        postprocess: 'autoprefixer',
        purgeOptions: {
          content: ['src/pcss/*.html', 'src/assets/scripts/**/*.ts'],
        },
      }))
    .pipe(rename({ suffix: '.min', extname: '.css' }))
    .pipe(dest('dist/css', { sourcemaps: '.' }))
}

// sample task for scss files
function scss(cb) {
  src(['src/scss/main.scss'], { sourcemaps: true })
    .pipe(licss({ postprocess: 'minify' }))
    .pipe(rename({ suffix: '.min', extname: '.css' }))
    .pipe(dest('dist/css', { sourcemaps: '.' }))
  cb()
  return
}

export { css, sass, pcss, scss }

MIT License ©2025 by pasmurno from llcawc. Made with to beautiful architecture.