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

@msa_cli/react-composable

v2.0.5

Published

A set of reusable React composable utilities designed to simplify state management, logic abstraction, and enhance reactivity in modern React applications. Perfect for creating modular and maintainable codebases.

Downloads

66

Readme

@msa_cli/react-composable

A powerful and easy-to-use package providing composable utilities for React projects. This library is designed to simplify and enhance your React development workflow, and it is fully compatible with the latest versions of React and Next.js.


Installation

To install the package, use the following command:

npm install @msa_cli/react-composable

Or, if you prefer Yarn:

yarn add @msa_cli/react-composable

Overview

The @msa_cli/react-composable package offers a set of helpful functions designed to streamline your project needs. These functions follow composable patterns, enabling flexibility and reusability throughout your application. Whether you're working on a standard React project or leveraging the latest version of Next.js, this library is built to integrate seamlessly.

Key Features

  • Composable Utilities: Ready-to-use functions that follow React’s compositional paradigm.
  • Project Agnostic: Works well in both React and Next.js environments.
  • Simple API: Easy-to-understand and implement functions.
  • Documentation: Comprehensive documentation available at React Composable Documentation.

Usage

Import the functions you need and use them directly in your components:

Example:

'use client'

import { Input } from '@/components/ui/input'
import { useDebounce } from '@msa_cli/react-composable'

export default function Debounce() {
  const [value, debouncedValue, setValue] = useDebounce('', 1000)

  return (
    <div className="flex flex-col gap-4">
      <Input
        type="text"
        value={value}
        onChange={(e) => setValue(e.target.value)}
        className="border p-2 rounded"
        placeholder="Type something..."
      />
      <div className="flex flex-col gap-2">
        <div>Current value: {value}</div>
        <div>Debounced value: {debouncedValue}</div>
      </div>
      <div className="mt-5">How to use:</div>
    </div>
  )
}

Refer to the documentation for detailed examples and API references.


Compatibility

This package supports:

  • React 17+
  • Next.js 13+ (including the latest app router features)

It’s tested to ensure optimal performance and compatibility with modern React features such as hooks and server components.


Documentation

Visit the official documentation for a complete guide to all available composables, detailed usage examples, and troubleshooting tips.


Contributing

Contributions are welcome! Feel free to submit issues or pull requests to improve the package. Check the CONTRIBUTING.md file for guidelines.


License

This project is licensed under the MIT License. See the LICENSE file for details.