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

mgplus

v1.3.1

Published

mgplus a micro CSS library

Downloads

167

Readme

MgPlus (Mg+)

Do You Enjoy Using the Milligram framework? Check Out Mg+

Mgplus mini CSS library

portal and demo

Build pretty websites with just a few drops of css

Latest release on NPM

CDN direct link

Striking the perfect balance between features and simplicity

The project began in early 2021 with the goal of providing a more robust and feature-rich alternative while maintaining the minimalistic approach of Milligram

Mgplus is specially designed to quickly create a website or a small page with minimal dependencies for better performance and higher productivity

Only one css file, around 58 KB minified

Integration example

mgplus portal

corporate website integration

Why mgplus ?

  • Easy to use: components are just html markups
  • Easy to integrate: just add only one css file in your page
  • Easy to extend
  • Lightweight with only essentials features
  • Responsive and mobile first design

Features

  • Theming with css variables
  • Dark mode
  • Navs
  • Tabs
  • Pretty forms inputs
  • Badges
  • Modals
  • Responsive flex grid system
  • Icon helper including ready to use css icons
  • Styling helpers like tailwindcss for positionning and sizing
  • And more ...

Getting started

Quick start

  • Import mgplus.css to your website from our CDN
 <link rel="stylesheet" type="text/css" href="https://cdn.mgpluscss.com/$PACKAGE_VERSION/css/mgplus.css" />
  • Optional: In order to use collapsible components or darkmode, import mgplus-dom.js to your website from our CDN
<script src="https://cdn.mgpluscss.com/$PACKAGE_VERSION/js/mgplus-dom.js"></script>

Developing

Start demo page locally with enabled hot reload

  • Clone the repository
git clone https://github.com/Evodim/mgplus.git

Install packages

npm install

Build demo page

npm run build:demo

Start demo page (hot reload enabled on any change)

npm run start

Build only the library

Output library will be copied in dist folder

npm run build

Build debug version of the library

Build unminified version with sourcemaps

npm run build:debug

yarn, pnpm commands are also supported

License

Licensed under the MIT License.

This library is in active development, some breaking may occurs until next major release including a new documentation portal.

A complete documentation page will be available soon