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

nolimitstore

v0.0.3

Published

A lightweight Redux-like store for React and React Native, with hooks and selector support. Built with TypeScript, no boilerplate, and full reactivity via useSyncExternalStore.

Downloads

18

Readme

🔗 nolimitstore

A lightweight, Redux-like global state manager for React and React Native apps.
Built with TypeScript, powered by hooks, and optimized with useSyncExternalStore.


🚀 Features

  • ✅ No boilerplate — create a store in one line
  • 🎯 Select only the state you need with useStore
  • 🔁 Built-in useDispatch for updates
  • 📦 React + React Native compatible
  • 🧠 Written in TypeScript with full type safety
  • 🪶 Tiny and fast

📦 Installation

npm install nolimitstore

⚡ Quick Start

Step 1: Create your store

import { createStore } from 'nolimitstore';

type AppState = {
  name: string;
  age: number;
};

const store = createStore<AppState>(
  { name: 'Clinton', age: 0 },
  (state, action) => {
    switch (action.type) {
      case 'incremented_age':
        return { ...state, age: state.age + 1 };
      case 'changed_name':
        return { ...state, name: action.nextName };
      default:
        throw new Error('Unknown action: ' + action.type);
    }
  }
);

Step 2: Wrap your app in StoreProvider

import { StoreProvider } from 'nolimitstore';

function App() {
  return (
    <StoreProvider store={store}>
      <YourAppComponents />
    </StoreProvider>
  );
}

Step 3: Use in any component

import { useStore, useDispatch } from 'nolimitstore';

function Profile() {
  const name = useStore(s => s.name);
  const age = useStore(s => s.age);
  const dispatch = useDispatch();

  return (
    <>
      <Text>{name}</Text>
      <Text>{age}</Text>
      <Button onPress={() => dispatch({ type: 'incremented_age' })} title="Add Age" />
      <Button onPress={() => dispatch({ type: 'changed_name', nextName: 'Essence' })} title="Change Name" />
    </>
  );
}

🔍 API Reference

createStore(initialState, reducer)

Creates the global store.

Wraps your app to provide context.

useStore(selector)

Access part of the state with a selector.

useDispatch()

Returns the dispatch function to send actions.

🛠 Tech Stack

•	React 18+
•	useSyncExternalStore
•	TypeScript
•	Context API (no external dependencies)

📄 License

MIT License

👩🏾‍💻 Author

Created by Clinton Onuoha