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 🙏

© 2026 – Pkg Stats / Ryan Hefner

apparena-patterns

v2.0.1

Published

Styleguide and patterns of App-Arena.com

Readme

App-Arena Patterns

npm package PeerDependencies Dependencies DevDependencies Coverage Status Build Status semantic-release

App-Arena Patterns is a set of React components that implement the App-Arena CI.

Check out our documentation site for live examples. It's still a work in progress, but hopefully you can see where we're headed.

Recently Updated? Please read the changelog, this README and the documentation before posting an issue.

Getting Started

We recommend that you get to know React before diving into apparena-patterns-react. App-Arena Patterns is a set of React components, so understanding how React fits into web development is important.

Install dependencies and start the server

Install dependencies by running npm install or yarn.

Run npm run start and open localhost:3099 in your browser.

Installation

App-Arena Patterns are available as an npm package.

Stable channel

npm install apparena-patterns-react
yarn add apparena-patterns-react

Usage

Here is a quick example to get you started:

./App.js

import React from 'react';
import ReactDOM from 'react-dom';
import MyAwesomeReactComponent from './MyAwesomeReactComponent';

const App = () => (
    <MyAwesomeReactComponent />
);

ReactDOM.render(
  <App />,
  document.getElementById('app')
);

./MyAwesomeReactComponent.js

import React from 'react';
import {Button} from 'apparena-patterns-react';

const MyAwesomeReactComponent = () => (
  <Button type="primary">Label</Button>
);

export default MyAwesomeReactComponent;

Please refer to each component's documentation page to see how they should be imported.

Pattern documentation

This repository also contains the code for the pattern documentation. You can view the documentation at https://brand.app-arena.com/.

Contributing

If you would like to contribute to the documentation or write documentation for a new component please have a look at our guide to writing documentation! If you want to start hacking away at the frontend, which can be found at https://brand.app-arena.com/, please read our guide to working on the frontend.

Creating a new pattern

We provide a yeoman generator that requires 2 clicks to create a new pattern.

  1. Install the generator: npm install -g generator-apparena-pattern
  2. cd into the App-Arena patterns root directory (it contains a .yo-rc.json file)
  3. Run the generator: yo apparena-pattern
  4. Follow the onscreen prompts
  5. Overwrite the file source/patterns/index.js if prompted (make a backup of your changes!)

Done! Now edit your newly created pattern under source/patterns/...

Preparing for the pull request

Your commits leading up to the pull request should be named properly. Each commit should begin with the name of the component that you have worked on in square brackets followed by a quick summary of what was done.
Example: [Component] Added documentation

If you want to have your changes published to NPM as well then you should prefix the message when mergin the pull request into master branch with the semver release level in square brackets, these are: [major], [minor], or [patch]. If you add the component name into the message it has to come after the semver release level (e.g. "[patch][Component] Added documentation").
Omitting the semver release level, or using an invalid one, skips the NPM deployment and only updates the documentation.

Always run the tests and the linter prior to opening a pull request and fix any issues, errors and warnings that occur.

License

This project is licensed under the terms of the MIT license