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

@babl.one/storage

v0.0.7

Published

Wrapper to add cloud and local storage

Readme

babl.one Plugin :: /plugins/storage

Provides the app interfaces to store and retrieve files from cloud or local storage

Overview

This plugin is designed to provide a unified interface for storing and retrieving files from various storage services like cloud storage (Azure, S3, etc.) and local storage. It includes actions for reading, writing, deleting, and renaming files in storage containers.

Plugin Details

This plugin provides the following actions:

  • READ: Retrieves a file from the specified storage container.
  • WRITE: Uploads a file to the specified storage container.
  • DELETE: Deletes a file from the specified storage container.
  • RENAME: Renames a file in the specified storage container.

Configuration

The configuration for the storage plugin is defined in the storage.json file. This file should include the storage service details, such as API keys, private keys, and the region for cloud storage services like S3 or Azure.

Methods

init

Initializes the storage client using the provided configuration. This must be called before performing any storage operations.

await storagePlugin.init();

process

Processes a list of files and performs the appropriate actions (read, write, delete, rename) based on the file's action.

await app.process('serviceName', 'containerName', files);

Example Usage

  1. Configure the storage service in the storage.json file.
  2. Use the app.process() method to read, write, delete, or rename files in the specified storage containers.

Register Storage Service

To add a new storage service to the plugin, use the app.registerStorage method:

app.registerStorage('s3', S3StorageService);
app.registerStorage('azure', AzureStorageService);

Error Handling

The plugin will log errors using the app's logging system if an operation fails. The file status will also be updated accordingly (e.g., FAILED).

Supported Storage Services

  • S3
  • Azure Blob Storage
  • Local storage