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

hedron1

v1.0.0

Published

A no-frills flexbox grid system for React.

Downloads

4

Readme

Travis npm David Slack Status

View a landing page built with Hedron.

Installation

npm install --save hedron

or better yet

yarn add hedron

Documentation

View the Documentation →

Example Usage

View interactive example on webpackbin

import React, { Component } from 'react';
import { Section, Row, Column } from 'hedron';

class App extends Component {
  render() {
    return (
      <Section>
        <Container>
          <Box sm={8} smShift={2} lg={6} lgShift={3}>
            <h1>This is a Box that's centered using the shift props</h1>
          </Box>
        </Container>
        <Container>
          <Box fluid sm={4}>
            <h1>Fluid Boxs</h1>
          </Box>
          <Box fluid sm={4}>
            <p>It's a 12 Box layout by default.</p>
          </Box>
          <Box fluid sm={4}>
            <Container divisions={24}>
              <Box sm={24}>
                <p>
                  But you can change the amount of Boxes by adding the
                  `divisions` property to a Container.
                </p>
                <p>It's fully embeddable as well!</p>
              </Box>
            </Container>
          </Box>
        </Container>
      </Section>
    );
  };
}

Contributing

First of all, thanks for your interest in contributing to hedron. The best place to get started with contributing to hedron is to join the JSBro Slack Team. Once you're in the slack channel, take a look at the issue tracker and look at the tasks labeled with help wanted.

Building the module from source

$ git clone https://github.com/JSBros/hedron

To install all dependencies, you can use either npm or yarn. I personally prefer [and recommend] using yarn.

npm

$ npm install

yarn

$ yarn install

Building

To build hedron from the source code, please run the following command inside the hedron directory

$ npm run build

Before you submit a pull request, you must first make sure that the code base is passing eslint inspections. To do that, please run the following

$ npm run lint

If all goes well, nothing spectacular should happen. If there are any errors, you'll get a lot of red output in your terminal and it will list exactly what needs to be fixed.

Committing

In an effort to keep the git history clean, since 0.4.0 I'm enforcing a semantic commit message style.

View the semantic commit message guidelines →

Contributors

Thanks goes to these wonderful people (emoji key):

| Garet McKinley💻 💡 ⚠️ 👀 | Matt Hamil 💬 | Mikko Matilainen💻 | Nathaniel Piche💻 📖 | Brian Stanback💻 | Stephen Mathieson💻 | | :---: | :---: | :---: | :---: | :---: | :---: |

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

Hedron is under the MIT License.