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

pgdoc-nosql

v1.0.0

Published

Dead-simple NoSQL document storage using PostgreSQL.

Downloads

6

Readme

License

pgdoc

A dead-simple NoSQL document store using PostgreSQL.

This project is intended to allow you to get a simple JSON document store database up and running as quickly as possible, with minimal cognitive overhead. The system is using a robust and popular database called PostgreSQL as the database. The point is to delay having to wrangle the complexities of database management as long as possible for you own project, which for many small projects may mean never having to worry about it.

Using this you can store and search JSON documents, a generic format for data structures popular in web programming, with simple function calls (or other language specific methods). All application logic is handled server-side, in the cozy confines of your programming language of choice. If it is supported.

To get started, check out the documentation.

Features

A library that allows document storage, retrieval and deletion with a function call.

Document selection via JSON object subset of the top level of a document. This allows selection via group tags, IDs and shared simple values, but not select elements of complex sub-object hierarchies.

Incomplete error handling system, that will reduce but not yet eliminate the need for try-catch blocks everywhere.

An install script that configures PostgreSQL for pgdoc.

A means of requesting unused sequential IDs from the database. pgdoc.requestID(docType)

Partial support for NodeJS

Features (Planned)

Complete error handling system, which will capture errors so consistently that an external try-catch is largely redundant OR Pass through and wrap Error subtypes in a more standard manner.

Specific errors for all known cases.

A script to generate install scripts for custom projects.

Pass through functions for other useful postgresQL features.

Full support for NodeJS.

Support for additional programming languages (tentative)

A means of generating or requesting unused non-sequential IDs. pgdoc.requestUUID(docType) or similar.

Document Selection via JSON object subsets at any level of the object hierarchy.

Additional asyncronous testing and support.

Support

Please report any bugs on our GitHub issues page

Be sure to state your issue clearly and provide information that can help with reproducing it, such as PostgreSQL version. For details on how to do this, or if you just want to help out, look at the contribution guidelines for more information.

License

The code is available at Github under the MIT license.