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

storeage

v0.3.0

Published

High-performance Offline Storage with localStorage-like API and Enhanced Capabilities

Readme

Storeage 🚀

Node CI Coverage Status npm license

High-performance Offline Storage with localStorage-like API and Enhanced Capabilities


✨ Core Features

  • Standardized API Design
    📦 Familiar developer experience with localStorage-inspired API
  • Intelligent Storage Engine
    ⚡ Dual-driver fallback strategy (Priority: IndexedDB → LocalStorage)
  • Hybrid API Support
    ✅ Seamless Promise & Callback asynchronous patterns
  • Storage Isolation
    ✅ Multi-instance isolation via name + storeName combination
  • Advanced Data Management
    ✅ TTL (Time-to-Live) expiration support 🔥
    ✅ Custom serialization (supports Blob/BigInt/TypedArray and complex types)
  • Developer Experience
    ✅ First-class TypeScript support
    ✅ Simplified configuration (removed redundant version parameter)

🚀 Quick Start

Installation

npm install storeage

Basic Usage

import storeage, { INTERNAL_DRIVERS } from 'storeage';

// Initialize storage
storeage.config({
  name: 'databaseName',
  storeName: 'storeName',
  driver: [INTERNAL_DRIVERS.IDB, INTERNAL_DRIVERS.LOCALSTORAGE], // Driver priority
});

// Store complex data (expires after 2s)
await storage.setItem(
  'userProfile',
  {
    id: BigInt(991234567890123456),
    avatar: new Blob([
      /* binary data */
    ]),
    loginTime: new Date(),
  },
  2000
);

// Retrieve data (auto-deserialized)
const profile = await storage.getItem('userProfile');
console.log(profile);

Advanced Configuration

// Create multi-instance storage
const cacheStorage = storage.createStorage({
  name: 'myApp_cache',
  storeName: 'imageCache',
});

await cacheStorage.setItem(
  'bannerImage',
  imageBlob,
  1000 * 60 * 60 * 24 // Expires after 24 hours
);

⚙️ Configuration Options

| Parameter | Type | Default | Description | | ----------- | -------- | ------------------------- | ------------------- | | name | string | 'storeage' | Database identifier | | storeName | string | 'storeage' | Object store name | | driver | string[] | ['idb', 'localstorage'] | Driver priority |


🤝 Contributing

We welcome contributions! Please feel free to:

  • Submit Pull Requests
  • Open Issues for bug reports or feature requests

📄 License

MIT © GameJoye