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

btstrp

v0.0.1

Published

BTSTRP is the smallest UI framework. Literally.

Downloads

3

Readme

What is BTSTRP?

BTSTRP is the smallest UI framework out there...Literally the smallest. BTSTRP has all the same basic components as Bootstrap, but they're just tiny. Best of all, it uses the same markup structure as Bootstrap.

Getting started

Download or clone this repo. If your project uses Sass, you can import btstrp.scss into your project or just include btstrp.css in your site's <head>. If you're using vanilla CSS, just include btstrp.css in your site's <head>.

You can also install BTSTRP in your project with npm or Bower. Instructions.

Working on BTSTRP locally

If you want to contribute to BTSTRP, or just work on it for yourself, you should fork and clone this repo. From your local BTSTRP directory run:

$ npm install

Grunt is set up to compile the SCSS into CSS, watch for changes, and spin up a development server.

$ grunt

Using BTSTRP in your project

Most Bootstrap features and components are available in BTSTRP. A few features are excluded because they're not necessary at BTSTRP's small scale. For example, there is only one button size, and no responsive elements. For reference, you should refer to the excellent Bootstrap documentation.

Here's a list of excluded elements:

  • Grid system Media queries
  • Code Inline code, user input, blocks of code, variables, and sample output
  • Tables Responsive tables
  • Forms Control sizing
  • Buttons Sizes and link button
  • Images Responsive images
  • Helper classes Screen reader content, and image replacement
  • Responsive utilities Classes, print classes, and test cases
  • Glyphicons
  • Button groups Sizing and vertical variation
  • Button dropdowns Sizing
  • Input groups Sizing
  • Navbar Responsive elements
  • Alerts Dismissible alerts
  • Responsive embed
  • Carousels

The BTSTRP container

Wrap your BTSTRP thumbnails in the .btstrp-container element like so:

<div class="btstrp-container">
  <!-- thumnbail markup -->
</div>

If you'd like your container to have browser style, add .btstrp-browser.

<div class="btstrp-container btstrp-browser">
  <!-- thumbnail markup -->
</div>

Font

Typography in BTSTRP thumbnails is brought to you by the excellent BLOKK font.

Why is this useful?

BTSTRP is intended for creating series thumbnails of UIs and user flows for websites and applications. You can create a series of zoomed-out, "20,000 foot" interactive view of your site, which at a glance tell a whole story, like the page from a comic book.