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

newmoon

v2.0.0-alpha2

Published

Front-end framework with a built-in dark mode and full customizability using CSS variables; great for building dashboards and tools

Downloads

6

Readme

Newmoon CSS

Front-end framework with a built-in dark mode and full customizability using CSS variables; great for building dashboards and tools.

⚠️ WARNING: until the 2.0.0 release, this is heavily work-in-progress, and lots of stuff like HTML usage and especially CSS variables are subject to change! Don't use this yet unless you want to keep up with the latest commits & change everything accordingly.

Newmoon is forked from Halfmoon with the aim to provide a very lightweight alternative to heavy frameworks like Bootstrap or Bulma. If you are looking for a drop-in replacement for Halfmoon instead, have a look at Fullmoon. All changes are logged in the changelog.

  • Built-in dark mode — Newmoon comes built-in support for prefers-color-scheme.
  • Fully customizable using CSS variables — The framework is built entirely using CSS variables (also known as CSS custom properties). There are close to 1,500 CSS variables, which means that almost everything can be customized by overriding a property, making it very easy to theme Newmoon to fit your brand. Learn more about customization.
  • Great for building dashboards and tools — The components have a very standard look and feel to them, making them suitable for dashboards and tools. Moreover, a lot of importance is placed on components such as forms, navbars, sidebars, dropdowns, toasts, shortcuts, etc. and there are also tons of utilities available.
  • Bootstrap like classes — The class names should be instantly familiar to anyone who has used Bootstrap.
  • Cross-browser compatibility — Fully supports almost all the current browsers under the sun.
  • Tiny filesize — The whole framework is just ... KB in size.
  • No JavaScript out-of-the-box — Many frameworks require JavaScript for UI features, which is avoided at all costs while still providing modern functionality like popups, a toggleable sidebar, and much more.

To learn more, go to the documentation.

Quickstart

The quickest way to get started with Newmoon is by using the CDN to include the following files:

<!-- Halfmoon CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/newmoon.min.css" rel="stylesheet" />

Using npm

npm install newmoon

After installation, the required CSS file can be imported in the following way:

// Include CSS file
require("newmoon/dist/newmoon.min.css");

Starter template generator

You can use the starter template generator to generate boilerplates for your project. The generator takes your settings and adds the appropriate classes and defines the required containers and elements.

Once again, we recommend reading the documentation, as it contains a lot of examples to help you quickly build websites.

License

Newmoon is licensed under the MIT license.

Copyright

Copyright 2022, Moritz Marquardt & others, see LICENSE.

Based on Halfmoon (by Halfmoon UI), which in turn is based on Bootstrap.