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

schemafree

v0.0.4

Published

Embedded Schema-Free Multi Modal Database. Built to illustrate an idea. Very alpha.

Readme

SchemaFree

An embedded, schema-free, multi-modal database for node.js. Supports graph queries and sql queries. Persistence uses Google's leveldb. See sample.js for more information. Built for discussion purposes.

Getting Started

  1. npm install schemafree
  2. let db = require('schemafree')()
  3. Review sample.js for a quick demo and to check everything is working

Api

The api is very short. The source is very short too. At this stage the best place to learn about the package is via sample.js.

  • db.set to store a entity in the database
  • db.unset to remove a entity from the database
  • db.link to link two entities
  • db.unlink to unlink two entities
  • db.search to get an entity from the database using a predicate function
  • db.query to run a sql query against the database
  • db.walk to run a graph traversal

Queries

The query() function supports almost all of SQL-99 including temp tables, all join types, rollup, cube, and grouping sets, In addition it supports use of a new 'link' statement which makes traversal of many-to-many relationship tables cleaner. See sample.js for more information.

The search() function provides a simple way to quickly grab any entity from the database using a javascript function. To get all person entities who with the firstname "Barry" simple type db.search(person => person.firstname == "Barry").

The walk() function offers a fluid syntax for quickly traversing stored data like a graph. Available steps are all(), group(), map(), filter(), label(), and loop().

Version History

  • 0.2 Initial release
  • 0.3 Implemented db.unlink. Implemented the sql link shorthand. Bug fixes.
  • 0.4 Finished implementing the full suite of walk() functions. Untested.

High Level Todos

  • Write tests
  • Write documentation
  • Discuss performance optimisations