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 🙏

© 2025 – Pkg Stats / Ryan Hefner

buzdolabi

v1.0.1

Published

A fun and practical NPM data storage module. Store, access, and manage your data as if it's in a 'refrigerator.' Compatible with JSON files and SQLite databases. Provides multilingual error messages for easier use and offers various operations on your dat

Downloads

11

Readme

Buzdolabi

Download Download Download License

Buzdolabi is a powerful npm module designed for advanced data management. It allows you to store, manipulate, and persist data efficiently. The module supports operations such as setting, getting, and deleting data, working with complex data structures, and saving/loading data to and from JSON files or an SQLite database.

Installation

Install the module via npm:

npm install buzdolabi

Usage

Here’s an example of how to use Buzdolabi in your project:

Importing the Module

const ayran = require('buzdolabi');

Setting and Getting Data

// Set a value
ayran.set('user.name', 'John Doe');

// Get a value
const userName = ayran.get('user.name');
console.log(userName); // Outputs: John Doe

Saving and Loading Data

Saving to a JSON File

// Save the current storage to a JSON file
ayran.saveToFile('storage.json');

// Load data from a JSON file
ayran.loadFromFile('storage.json');

Working with SQLite

// Connect to an SQLite database
ayran.connectSQLite('storage.db');

// Save data to an SQLite database
ayran.saveToSQLite('data_table');

// Load data from an SQLite database
ayran.loadFromSQLite('data_table');

Working with Arrays

Push and Get Elements

// Push an item to an array
ayran.push('shoppingList', 'Apples');

// Get the array
const shoppingList = ayran.get('shoppingList');
console.log(shoppingList); // Outputs: ['Apples']

Advanced Operations

Mapping over Arrays

// Assume you have an array of numbers
ayran.set('numbers', [1, 2, 3, 4]);

// Use the map function to double the numbers
ayran.map('numbers', num => num * 2);

// Get the updated array
const updatedNumbers = ayran.get('numbers');
console.log(updatedNumbers); // Outputs: [2, 4, 6, 8]

Localization

Buzdolabi supports multiple languages for error messages. You can set the language as follows:

ayran.setLanguage('es'); // Set to Spanish

Supported languages:

  • English (en)
  • Spanish (es)
  • French (fr)
  • Italian (it)
  • Portuguese (pt)
  • Turkish (tr)
  • German (de)