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

react-lib-cli

v1.0.3

Published

A react popular ecosystem libraries manager

Downloads

3

Readme

react-lib-cli

A react popular ecosystem libraries manager.

Introduce

开发这个 CLI 的初衷是为了在开发新的 React 项目时能够快速的安装需要的主流工具、样式、组件库,这些库都是在开发实践中经常使用的,而且在整个 React 生态中也非常的流行和受欢迎。

目前收录了以下库:

utility

| name | repo | description | | ----------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | lodash | 🔗 | A modern JavaScript utility library delivering modularity, performance, & extras. | | memoize-one | 🔗 | A memoization library which only remembers the latest invocation. | | moment | 🔗 | Parse, validate, manipulate, and display dates in javascript. | | rxjs | 🔗 | A reactive programming library for JavaScript. | | reselect | 🔗 | Selector library for Redux. | | umi-request | 🔗 | A request tool based on fetch. | | immutable | 🔗 | Immutable persistent data collections for Javascript which increase efficiency and simplicity. | | classnames | 🔗 | A simple javascript utility for conditionally joining classNames together. | | prop-types | 🔗 | Runtime type checking for React props and similar objects. |

router

| name | repo | description | | ---------------------- | -------------------------------------------------------- | ------------------------------------ | | react-router | 🔗 | Declarative routing for React. | | connected-react-router | 🔗 | A Redux binding for React Router v4. |

state management

| name | repo | description | | ----------- | ---------------------------------------------- | ----------------------------------------------------------- | | redux | 🔗 | Predictable state container for JavaScript apps. | | react-redux | 🔗 | Official React bindings for Redux. | | redux-saga | 🔗 | An alternative side effect model for Redux apps. | | dva | 🔗 | React and redux based, lightweight and elm-style framework. | | mobx | 🔗 | Simple, scalable state management. |

style

| name | repo | description | | ------------- | ---------------------------------------------- | ----------------------------------------------------------------- | | normalize.css | 🔗 | A modern alternative to CSS resets. | | @emotion/core | 🔗 | CSS-in-JS library designed for high performance style composition |

Install

$ npm install -g react-library-cli

Example

$ rl ls

? 请选择库类型索引
1. utility
2. style
$ 1

? 请选择库索引,多个以空格分隔(例如:1 2)

1. lodash
2. memoize-one
3. moment
4. rxjs
5. reselect
6. umi-request

Usage

Usage: cli [options] [command]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  ls             List all the popular react libraries

TODO

  1. 加入更多的库
  2. 优化交互
  3. 支持命令行展示更多的信息

LICENSE

MIT