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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sprucelabs/data-stores

v28.3.223

Published

A standardized way to store data across many storage platforms. This is NOT an ORM. Just a simple adapter layer built to make it easy to work with storage!

Downloads

25,765

Readme

Data Stores

All assertions are assuming the following structure

--
-- PostgreSQL database dump
--

-- Dumped from database version 14.7 (Homebrew)
-- Dumped by pg_dump version 14.7 (Homebrew)

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

SET default_tablespace = '';

SET default_table_access_method = heap;

-- start with dropping tables
DROP TABLE IF EXISTS public.test_collection CASCADE;
DROP TABLE IF EXISTS public."user" CASCADE;
DROP SEQUENCE IF EXISTS public.test_collection_id_seq CASCADE;

--
-- Name: test_collection; Type: TABLE; Schema: public; Owner: taylorromero
--

CREATE TABLE public.test_collection (
    id integer NOT NULL,
    name character varying NOT NULL,
    count integer,
    "isPublic" boolean,
    number integer,
    names varchar(255)[],
    "uniqueField" character varying,
    "uniqueField2" character varying,
    "uniqueField3" character varying,
    "uniqueField4" character varying,
    "someField" character varying,
    "someField2" character varying,
    "someField3" character varying,
    "otherField" character varying,
    "otherField2" character varying,
    "someOtherField" character varying,
    "randomUniqueField" character varying,
    target jsonb,
    slug character varying,
    "aNonIndexedField" boolean,
    "undefinedField" character varying,
    "nullField" character varying
);


ALTER TABLE public.test_collection OWNER TO taylorromero;

--
-- Name: test_collection_id_seq; Type: SEQUENCE; Schema: public; Owner: taylorromero
--

CREATE SEQUENCE public.test_collection_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


--
-- Name: test_collection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: taylorromero
--

ALTER SEQUENCE public.test_collection_id_seq OWNED BY public.test_collection.id;


--
-- Name: user; Type: TABLE; Schema: public; Owner: taylorromero
--

CREATE TABLE public."user" (
    id integer NOT NULL,
    name character varying NOT NULL,
    count integer,
    "isPublic" boolean,
    number integer,
    names varchar(255)[],
    "uniqueField" character varying,
    "uniqueField2" character varying,
    "uniqueField3" character varying,
    "uniqueField4" character varying,
    "someField" character varying,
    "someField2" character varying,
    "someField3" character varying,
    "otherField" character varying,
    "otherField2" character varying,
    "someOtherField" character varying,
    "randomUniqueField" character varying,
    target jsonb,
    slug character varying,
    "aNonIndexedField" boolean,
    "undefinedField" character varying,
    "nullField" character varying
);


--
-- Name: user_id_seq; Type: SEQUENCE; Schema: public; Owner: taylorromero
--

CREATE SEQUENCE public.user_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;



--
-- Name: user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: taylorromero
--

ALTER SEQUENCE public.user_id_seq OWNED BY public."user".id;


--
-- Name: test_collection id; Type: DEFAULT; Schema: public; Owner: taylorromero
--

ALTER TABLE ONLY public.test_collection ALTER COLUMN id SET DEFAULT nextval('public.test_collection_id_seq'::regclass);


--
-- Name: user id; Type: DEFAULT; Schema: public; Owner: taylorromero
--

ALTER TABLE ONLY public."user" ALTER COLUMN id SET DEFAULT nextval('public.user_id_seq'::regclass);


--
-- Data for Name: test_collection; Type: TABLE DATA; Schema: public; Owner: taylorromero
--

COPY public.test_collection (id, name, count, "isPublic", number, names, "uniqueField", "uniqueField2", "uniqueField3", "uniqueField4", "someField", "someField2", "someField3", "otherField", "otherField2", "someOtherField", "randomUniqueField", target, slug, "aNonIndexedField", "undefinedField", "nullField") FROM stdin;
\.


--
-- Data for Name: user; Type: TABLE DATA; Schema: public; Owner: taylorromero
--

COPY public."user" (id, name, count, "isPublic", number, names, "uniqueField", "uniqueField2", "uniqueField3", "uniqueField4", "someField", "someField2", "someField3", "otherField", "otherField2", "someOtherField", "randomUniqueField", target, slug, "aNonIndexedField", "undefinedField", "nullField") FROM stdin;
\.


--
-- Name: test_collection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taylorromero
--

SELECT pg_catalog.setval('public.test_collection_id_seq', 1, false);


--
-- Name: user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taylorromero
--

SELECT pg_catalog.setval('public.user_id_seq', 1, false);


--
-- Name: test_collection test_collection_pk; Type: CONSTRAINT; Schema: public; Owner: taylorromero
--

ALTER TABLE ONLY public.test_collection
    ADD CONSTRAINT test_collection_pk PRIMARY KEY (id);


--
-- Name: user user_pk; Type: CONSTRAINT; Schema: public; Owner: taylorromero
--

ALTER TABLE ONLY public."user"
    ADD CONSTRAINT user_pk PRIMARY KEY (id);


--
-- PostgreSQL database dump complete
--