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

accssnode

v0.2.2

Published

ACCSS — Ansi-C CSS Compressor C++ Wrapper for Node.js

Readme

ACCSS - a css compressor written in ansi c

C++ Wrapper for node-gyp Documentation see https://github.com/acwtools/accss

ACSS Version 1.2.2

Lib

    var accssnode = require('accssnode');
    var res = compressor.minify(cssString);
    OR
    var res = compressor.minify(cssString, {"restructure" : true, 'preserve-splitted' : false, 'compat' : 'none'});

Standalone Usage:

    accssnode
        reads from stdin, prints to stdout
    accssnode <filename> [<filename>...]
        minimizes the CSS in files <filename> and outputs the result to stdout
        multiple files while be combined to one output stream
    accssnode -o <out_filename>
        reads from stdin, writes output to specified file
    accssnode -o <out_filename> <filename> [<filename>...]
        minimizes the CSS in <filename> and writes output to specified file
         multiple files while be combined to one output file
    accssnode -r
    accssnode --restructure-off
        turns structure minimization off
    accssnode -h
    accssnode --help
        shows usage information
    accssnode -v
    accssnode --version
        shows the version number
    accssnode -s
    accssnode --stats
        prints cpmpression statistic to stdout if outfile is specified
    accssnode -p
    accssnode --preserve-splitted
        keep splitted shorthand propertys

        before compression
            .mt1{ margin-top:0; } .mt2{ margin-top:100px; }.mt1{ margin-left:0; margin-bottom:0; margin-right:0; }
        without option
            .mt2{margin-top:100px}.mt1{margin:0}
        with option
            .mt1{margin-top:0}.other{margin-top:100px}.mt1{margin-left:0;margin-bottom:0;margin-right:0}
        Note: consider restructure your css to .mt1.mt2{margin-top:100px}
    accssnode -c
    accssnode --compat
        compatibility to browser versions

        If set, following property/value sets and all below are not compressed/merged to preserve progressive enhancements for older browsers.
        The default value is all, which means maximum compatibility.
        Set this option to none if you don't use progressive enhancements as this increases compression speed and ratio.

        Example:
            none
                before compression
                    .ex{ display:block; display: inline-block; }
                after compression
                    .ex{display:inline-block}
            ie7
                before compression
                    .ex{ display:block; display: inline-block; }
                after compression
                    .ex{display:block;display:inline-block}

        Possible values:
        all
            default setting
        ie7
            display: inline-block
            clip
                comma syntax
        ie8
            background-position:
                background offsets
                http://www.w3.org/TR/css3-background/#background-position
            background / background-image
                multiple backgrounds
                http://www.w3.org/TR/css3-background/#the-background-image
            css3 colors
                http://www.w3.org/TR/css3-color/
                hsl, hsla, rgba
            cursor:
                http://www.w3.org/TR/css3-ui/#cursor
            viewport units
                http://www.w3.org/TR/css3-values/#viewport-relative-lengths
                vw
                vh
            root em units
                http://www.w3.org/TR/css3-values/#font-relative-lengths
        ie9
            calc as unit value
                http://www.w3.org/TR/css3-values/#calc
            viewport units
                vm IE9 only (wrong implementation of vmin)
                vmin
            css gradients
                http://www.w3.org/TR/css3-images/#gradients
                linear-gradient
                radial-gradient
                http://www.w3.org/TR/css3-images/#repeating-gradients
                repeating-linear-gradient
                repeating-radial-gradient
        ie10
            viewport units:
                vmax
        ie11
            cursor:
                zoom-in and zoom-out
        chrome
            text-decoration
                http://www.w3.org/TR/css-text-decor-3/#line-decoration
        future
            image
                http://dev.w3.org/csswg/css-images-3/#image-notation
            image-set
                http://dev.w3.org/csswg/css-images-3/#image-set-notation
        none
            compress/merge everthing