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

generator-mongodb-stitch

v1.0.2

Published

Yeoman MongoDB Atlas - Stitch app generator.

Readme

Generator MongoDB Atlas - Stitch

npm version

This project was created for scaffold a Stitch app. Once you have created the app, you can deploy it with Gulp on three diferents environments (dev, stage, prod) to MongoDB Atlas as three separated Stitch apps.

Prerequisites

Before you deploy the stitch app with Gulp, you must have installed the stitch-cli. Here is how you install it Stitch CLI Documentation

Next step is to login

$ stitch-cli login --username=<your-atlas-username> --api-key=<your-api-key>

Gulp script will use that session in future deploys.

Installing

In case you haven't installed the generator yet:

$ npm install -g yeoman generator-mongodb-stitch

Using the generator:

$ yo mongodb-stitch

Provide app name and MongoDB Atlas project id as the yeoman ask you so.

Once the generator has finished the process, you will find the basic structure of your app and the gulpfile for dpeloyment.

Creating the API

Every Stitch app may have several services. We use the HTTP service for build an API for the Stitch app. The HTTP service allow us to add several incoming_webhooks. Every webhook it's an API endpoint.

To create te API we run

$ yo mongodb-stitch:api

Yeoman will ask us for an api name. In addition we must provide the name of the MongoDB Atlas Cluster where we will find or create our database.

The database may or may not exists in our cluster, that wont affect the creation of the API.

Lastly we must indicate a default collection for our API.

Adding a Entity

By adding an Entity to our API we will create the collection for that Entity in our database. Then, yeoman will create three endpoints Create, List and Details.

$ yo mongodb-stitch:entity

Entity name can only contain alphabets. You may add all the entities that you need per API.

Deployment

You can deploy to tree diferents environments, in the practice that's three diferentes stitch apps on the Atlas project.

Feel free to deploy to any env at any time gulp deploy:dev, gulp deploy:stage or gulp deploy:prod.

For instance

$ gulp deploy:prod

Will dpeloy in your Atlas proyect the stitc app named app-name-prod.

Authors

  • David Méndez - Initial work - @mitlley.