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

re-app

v0.21.17

Published

react + redux frontend codebase

Readme

re-app

npm Build Status

Common react components, redux, react-router, redux-router, redux-saga boilerplate and helper codebase

Installation

Make sure you are using at least npm@3 and node@4.

npm install --save-dev re-app

Creating project from scratch with re-app-builder

Make sure you are using at least npm@3 and node@4.

cd into empty project directory and run these commands

npm init # initialize your project as npm package
npm i --save-dev re-app-builder # install re-app-builder
npm i --save-dev re-app # install re-app

Create public/index.html

<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <div id="root"></div>
        <script src="/index.js"></script>
    </body>
</html>

Create src/index.js, for example:

/* eslint-disable */
import React from 'react';
import ReactDOM from 'react-dom';

function *generator() { // generator functions supported

}

class App extends React.Component {
    render() {
        return (
            <strong>cool</strong> // jsx supported
        );
    }
}

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

Merge following into your package.json (add re-app-builder script)

{"scripts": {"ab": "node ./node_modules/re-app-builder"}}

Run

npm run ab dev

Look at http://127.0.0.1:8080

Development

To develop re-app and/or examples, clone this repository.

To build re-app one time, run

npm run build

To watch changes in sources and build on the fly run

npm run build:watch

Resulting CommonJS build files are located in lib directory.

To develop examples, run both commands simultaneously

npm run build:watch # builds library and watches changes
npm run ab dev # builds examples

Website featuring re-app examples will then be served on http://127.0.0.1:8080

Testing

Tests are stored in test folder. Run them by executing npm run test. You can also run only subset of tests by running npm run test:file -- --grep "test description".

Proposed library structure

utils

Here will be list of utility functions

components

Here will be list of pure components

containers

Here will be list of container components (aka smart components)

decorators

Here will be list of decorators providing common functionality

modules

Module is a bundle of related redux actions, redux reducer, redux-sagas and selector functions. A module can depend on selector functions and actions of another module.

api

Keeps api service

auth

Keeps authentication context of application

routing

Handles routing actions and state

flash

Handles flash messages

modals

Handles modal windows

entityDescriptors

Keeps entity schemas and normalizr schemas (here called "mappings" for separation)

entityStorage

Handles entity data

entityIndexes

Handles lists of entities

entityEditors

Handles entity editors

Dependency tree of internal modules

Dependency root is a module with no dependencies. A module depends on every module on oriented paths leading to dependency roots. There should be no cycles. See the proposed tree here

License

This project is licensed under the terms of the MIT license. See LICENSE.md.