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

chemistry-ui

v2.4.8

Published

Portfolio React Components Library based on Material-ui

Downloads

27

Readme

npm version

How to use

A link to a simple usage example project will be added soon...

How to launch Storybook

  1. Install dependencies
npm install
  • If it fails due to a "Could not resolve dependency" error, try with:
npm install --legacy-peer-deps
  1. Launch Storybook
npm run storybook

Other commands

  • Launch eslint autofix
npm run eslint
  • Launch prettier autofix
npm run prettier

Functional description

  • When Storybook is launched, a catalogue will appear with all the App components. A component will be rendered with its default material-ui theme, if our custom theme isn't explicitly defined on its story (templates themes are defined to help visualization).

  • Some components are displayed in [Name] folders. That means those components are specifically used only by a concrete App in the Chemistry-UI little ecosystem. Right now, we have:

    • Recipe: Used by the Cooking with Amateurs App
    • Room: Used by the Scaping Boredom App

Technical Stack

  • React

  • Babel (compilation)

  • Webpack (bundling)

  • Prettier, ESLint (code style tools, based on airbnb conventions), Husky (pre-commit automated formatting tool)

  • Material-ui (this custom design system is based on this one)

  • Storybook (tool that helps implementing atomic design)

  • Netlify: deploying free site for this App Demo

Technical discusion

  • A pre-commit has been added to this repository to help maintain a coherent code style, even if new developers were added to this project in the future.

  • Material-ui components have been "wrapped" with custom components to allow changing to another design system with ease in a potential future.

  • Literals are not hardcoded but instead passed down to components by props in order to implement a multilanguage support system in the future.

  • Two color themes have been defined in order to allow the different colored buttons to coexist on the same design system.

Atribution

Projects using this library