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

picker-hedgehog

v0.0.5

Published

This example shows how to **implement a GraphQL server with TypeScript** based on [Prisma Client](https://www.prisma.io/docs/concepts/components/prisma-client), [apollo-server](https://www.apollographql.com/docs/apollo-server). It is based on a SQLite dat

Downloads

4

Readme

Picker Hedgehog boilerplate

This example shows how to implement a GraphQL server with TypeScript based on Prisma Client, apollo-server. It is based on a SQLite database - you can find the database file with some dummy data at ./prisma/dev.db.

Getting started

1. Install dependencies

Install npm dependencies:

npm install

2. Install Docker engine if you don't have it

Go to https://docs.docker.com/engine/install/ and install it to your machine

3. Add .env file into prisma directory with DATABASE_URL entry

DATABASE_URL=mysql://[your_db_username]:[your_db_password]@127.0.0.1:3306/picker

Go to https://docs.docker.com/engine/install/ and install it to your machine

4. If it's your first execution wake up the docker stack

This is only for local development. It simulates all necessary resources in order to develop connected to all the "real" services that project is connected to. Launch your local stack with the following command:

npm run create-local-stack

5. Start the GraphQL server

And finally launch your GraphQL server with this command:

npm run dev

Navigate to http://localhost:4000 in your browser to explore the API of your GraphQL server in a GraphQL Playground.

Using the GraphQL API

The schema specifies the API operations of your GraphQL server. TypeGraphQL allows you to define a schema using TypeScript classes and decorators. The schema is generated at runtime, and is defined by its classes

Below are a number of operations examples that you can send to the API using the GraphQL Playground.

Next steps

Under construction: DON'T FORGET TO UPDATE README FILE WHEN NECESSARY