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

bootstrap-less-easy-setup

v1.0.9

Published

Simple dev setup of bootstrap. Compile bootstrap's less files to CSS on changes to the less files.

Readme

Archived:

Use e.g. the less-watch-compiler as it is quite easy to use.

bootstrap-easy-less-setup

Easy setup for adding own rules to bootstrap using lessc. Includes http-server and watch system to check if less files changes - and on a change auto-compile styles.css

Dependencies:

You will need to install the lessc compiler using:

npm install -g less

Install

Install the bootstrap-easy-less-setup package:

git clone https://github.com/diversen/bootstrap-easy-less-setup
cd bootstrap-easy-less-setup
npm install

Now you have bootstrap, a http-server, and a system to watch file changes to less files.

Setup, Run, and Watch

Run a setup command, which creates a public directory, where your less files and compilled CSS will go. You will get the file styles.less as a starting point, which includes bootstrap

npm run setup

Now you can serve the files in the public dir by doing a

npm run serve

You can now browse to localhost:8080

Create another terminal window, and run:

npm run watch

Now styles.css and styles.map will be compiled when you edit your styles.less file.

Source mappings

You can use source mappings so that it is possible to edit the less files in chrome, and then they will recompile:

Open chrome dev tools, and press settings and then workspaces.

Browse and add the bootstrap-easy-less-setup/public folder.

Chrome will ask you for permissions. Press accept in the toolbar.

Add mappings:

Url Prefix: http://localhost:8080/
Folder path (change to your own path): /home/dennis/bootstrap-easy-less-setup/public

Now go to sources -> sources. You can now open the styles.less file and edit it. When you save it, the CSS file styles.css will be auto-compiled.

The top button is a custom button style called my-btn. It is at the top of the less file.

License MIT