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

nocc-bootstrap-theme

v1.4.0

Published

NOCC A responsive Bootstrap 5 theme

Downloads

24

Readme

NOCC package Github-sponsors NPM Downloads Publish Package license Socket Badge

Introduction

Are you tired of outdated Bootstrap themes?

Say hello to NOCC 🎉: A Modern Bootstrap 5 Theme!

It comes in two powerful options:

  • 🌟 Nocc Bootstrap Theme: An NPM Package that brings the power of NOCC directly to your NodeJS project. Get it now!.
  • 🌐 Full Site Bundle for Jekyll: A complete static website showcasing NOCC's seamless integration. Featuring a beautifully designed homepage, dynamic tag cloud, image gallery, and more. Explore on GitHub.

NOCC is a complete replacement for Bootstrap 5.3.3

Table of contents

Features

  1. Use of the latest Bootstrap 5 library
  2. Fully Responsive and Dual Color (light and dark)
  3. CSS and JS files are minimized by default
  4. Self-hosted Google web fonts
  5. Demo site built-in

What's included

You'll find all the required directories and files within the download, logically grouping common assets and providing compiled and minified variations.

Bundled dependencies

Quick Start

Select your favourite package manager and follow the instructions below.

  • Install with npm:
  npm install nocc-bootstrap-theme --save
  • Install with yarn:
  yarn add nocc-bootstrap-theme
  • Install with Composer:
  composer require nocc-bootstrap-theme

The package folder structure looks like this:

  nocc-bootstrap-theme/
  ├─ css/
  ├─ fonts/
  ├─ icons/
  ├─ images/
  ├─ js/
  └─ src/
  • The css/nocc-theme.css (or the minified nocc-theme.min.css) file loads the fonts and icons. Remember to include JavaScript files and images in your project.

You can also import the source SCSS files to your manifest (e.g. index.scss).

  @import "nocc-bootstrap-theme/src/styles/main.scss";

If you need documentation or help with Bootstrap or its components in general, please head over to Bootstrap documentation.

Customize it

You can change or use this theme in your own Sass code; please download the source code from the GitHub repository and change it.

Installing from source

  • Install node v20.10.0 or higher
  • Clone project git clone --recursive [email protected]:carlesloriente/nocc-bootstrap-theme.git
  • Go into the project folder cd nocc-bootstrap-theme
  • Init the Bootstrap submodule git submodule update --init --recursive (only needed the very first time)

The folder structure looks like this:

  nocc-bootstrap-theme/
  ├─ bootstrap/
  ├─ scripts/
  ├─ src/
  |  ├─ fonts/
  |  ├─ icons/
  |  ├─ images/
  |  ├─ js/
  |  └─ styles/
  └─ static/
    ├─ gallery/
    └─ posts/

Install node modules, run the command:

  npm install

Build the distribution, run the command:

  npm run compile

Demo website

The source includes resources for building and running locally a sample website.

If you want to see the theme in action, complete the following steps.

Now, let's build the demo site, run the command:

  npm run compile-demo

The folder demo contains all the generated site files.

To run the bundled web server, run the command:

  npm run server-watch

Additionally, an option builds the files on the fly when there's a change and runs the web server incorporating a watcher, so you can write code and see your changes immediately in the browser. Run the command:

  npm run start-demo

Testing your changes

If you want to test the code, run the command:

  npm run lint

Bugs and Issues

Have a bug or an issue with this package? Open a new issue here on GitHub!

Contributing

New contributors are always welcome! Check out CONTRIBUTING.md to get involved.

Creator

Carles Loriente is the creator and maintainer of the NOCC Bootstrap theme.

Thanks

Bootstrap 5 framework created by Mark Otto and Jacob Thorton.

Copyright and License

Copyright (c) 2024 Carles Loriente. Code released under the MIT license.