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

neurony-stylelint-config

v1.0.5

Published

Stylelint config of Neurony Solutions

Readme

CSS / SCSS Style Guide

Package name: stylelint-config-neurony

Setup

1. In project root run:

npm i stylelint-config-neurony

Configuration

In your project root run:

npm i -g stylelint
npm i stylelint-config-neurony --save-dev

In your project root create a file called .stylelintrc and paste this into it:

{   
  "extends": "stylelint-config-neurony"
}

In this file you can specify any extra rules or settings.

4. Append this line to package.json scripts: (your js path may differ)

"stylelint": "stylelint resources/assets/sass/front/*.scss --fix",

Running

npm run stylelint

Documentation

There are some rules in place that are undocumented here. They keep you from writing invalid css, using invalid media queries etc.

Should I use [BEM] (http://getbem.com/) or not?

If you're the one who starts the project, it's your choice. This guide does not interfere with it. It's the responsibility of the future developers to adhere to naming conventions already in place.

Formatting

stylelint: at-rule-name-space-after block-opening-brace-space-before block-opening-brace-newline-after block-closing-brace-newline-before

Those rules will enforce you write clean CSS like:

    .class-name {
        color: black;
    }

Maximum nesting 4 levels

stylelint: max-nesting-depth

Your rules are getting way to specific above those levels and will never be reused. It's also difficult to read when stylesheets become long.

    .class {
        .some-class {
            .getting-deep {
                stop-here {
                
                }
            }
        }
    }

No ID selectors

stylelint: selector-max-id

Your rules can not be reused this way.

#not-cool {
    display: none
}

Prefer dashed named variables for scss

Your variables names should also contain the group they belong to as the first word.

$font-size-subtitle: 18px;
$color-darkgray: #2f2f2f;

Use z-index with variables

It's recommended that you assign your z-index values to variables with names that give a hint of the value and intent. Easier to keep track what's on top of what, rather than using magic numbers.

    $z-index-navmenu: 10;
    $z-index-alert: 100;
    $z-index-popup: 1000;

Comments

Prefer one line comments for properties/classes with a space between slashes and first word.

   // comment

Prefer block comments for explanations at the beggining of the module. (if necessary)

 /* block comment 
    probably multiline
 */    

Javascript Hooks

Even if you are not using [BEM] (http://getbem.com/), you should avoid binding to the same class in both your JavaScript and CSS. Conflating the two often leads to, at a minimum, time wasted during refactoring when a developer must cross-reference each class they are changing, and at its worst, developers being afraid to make changes for fear of breaking functionality. JS hooks should use a camelCased name prefixed with js-.

    <button class="js-startSlideshow"> </button>