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

flaredb

v1.0.1

Published

FlareDb is an ongoing project that focuses on simplicity and efficiency. It is intended to be a self hosted database where individuals will be able to host and use with ease. The purpose of `FlareDb` is not to compete with the likes of `sqlite`, `mongod

Readme

FlareDB 🔥

Table of Contents

Introduction:

FlareDb is an ongoing project that focuses on simplicity and efficiency. It is intended to be a self hosted database where individuals will be able to host and use with ease. The purpose of FlareDb is not to compete with the likes of sqlite, mongodb and so on but rather to aid our organisation CodeTheEarth

Features:

  • JSON document based database (inspo from mongodb)
  • Single .db file database(inspo from sqlite)
  • Indexing
  • Ease of use
  • Zero external dependencies
  • Low ram usage (10k documents -> 38mb ram aproximately)

Why Project FlareDB

Project flareDB as stated above is to aid our organisation CodeTheEarth with a personal self hosted database to run our operations. That said, this is a completely open source project meaninig other developers can contribute, sponsor, take inspo from and self use for themselves >_<. This project should effectively solve the issues facing our organisation and other developers which relates to complexity of other databases and for some.. pricing.

How to use

First make sure you have node installed

  • Installing dependency:
npm install https://github.com/codetheearth/flaredb
  • Initializing a database
const db = new Flare("users.db");
  • Creating a new document
const Users = db.collection("users", { name: "string", age: "number" }); //example schema
  • Inserting into documents
await Users.put({ name: "Haki", age: 18 });
  • Return whole document
const all = await Users.find();
console.log("All users:", all)
  • Find one
const haki = await Users.findOne({ name: "Kaima" });
console.log("Find one:", haki.age);
  • Update
await Users.updateOne({ name: "Haki" }, { age: 19 }); // update first match
await Users.updateMany({ age: 20 }, { age: 21 }); // bulk update
  • Delete
await Users.deleteOne({ name: "Kaima" }); // delete first match
await Users.deleteMany({ age: 21 }); // delete all matches
await Users.clear(); // wipe entire collection

FlareCache

This is a simple redis like key value pair db for things like cache and so on

How to use FlareCache?

const cache = new FlareCache()
await cache.set("name", "haki")
console.log(cache.get("name"))

Contributors

Other contributors

CODE THE EARTH !!