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

gtl-core

v0.6.0

Published

Platform is the back-end starting point for our projects here at Goosetail Labs. It works in conjunction with our [app-framework](https://github.com/goosetail/app-framework). You'll need to have [Node.js](http://nodejs.org/) and [MongoDB](http://www.mongo

Downloads

7

Readme

#Goosetail Labs Platform

Platform is the back-end starting point for our projects here at Goosetail Labs. It works in conjunction with our app-framework. You'll need to have Node.js and MongoDB installed and running locally before you begin.

Getting Started

New!

Our apps and platform can now be generated and setup automatically! Instead of doing all the house cleaning below, you can use the goosetail-generator to clone and setup your new app. Visit the /generator directory of the internal repo for more details.

The Old Way

Clone the internal repo

ssh $ git clone [email protected]:goosetail/internal.git

https https://github.com/goosetail/internal.git

From the root of the internal repo, run $ cd platform and then the following commands:

npm install
npm start

That's it! Now point your browser to http://localhost:5000/rpc to make sure things are working properly.

House Cleaning

The eventual goal is to automate everything in this section, but we aren't quite there yet. You'll need to make a few manual changes whenever you are setting up a new project. Most of which just involves replaces references to the platform with your new project name. Ideally we will get to the point where this is no longer necessary.

package.json

"name": "platform", //replace with your-app-platform

/core/config/env/default.json:

"url": "mongodb://localhost/platform" // replace platform with your-app-platform

"sessionSecret": "eWBBtJL3RDggT88hyFyd", // replace with an alphanumeric 20 character string

/core/config/env/acceptance.json:

"sessionSecret": "J7TwBdnpiLVTTXr6UpC4", // replace with an alphanumeric 20 character string

"baseUrl": "app-framework.uat-goosetail.com" // replace with your-app.uat-goosetail.com

"allowedOrigins": [ 
    "app-framework.uat-goosetail.com", // replace with your-app.uat-goosetail.com
    "platform.uat-goosetail.com"  // replace with your-platform.uat-goosetail.com
]      

// replace /platform with /your-platform for all 3 
"url": "mongodb://10.1.1.96:27017/platform,mongodb://10.1.2.100:27017/platform,mongodb://10.1.2.101:27017/platform"

/core/config/env/mocha.json:

"url": "mongodb://localhost/platform-test"  // replace platform-test with your-app-platform-test

/core/lib/session/index.js:

name: 'platform.api.sid'   // replace with your-app-platform.api.sid

Communicating with the app-framework

The app-framework is mainly a front end app, with a small server. This platform is our backend and it communicates with the app-framework via rpc. You will need both installed and running for your application to be fully functional.

Allowed Origins

The domains that can successfully make a CORs request to the platform are white-listed. These domains can be added inside core/config/default.json and core/config/production.json. You do not need to list protocol or port, just the full domain and any subdomain if necessary.

Generating App Keys

In order to identify which applications are talking to the platform, you should create an App key for each application. You can generate an app key by browsing to (http://localhost:5000/rpc)[http://localhost:5000] and entering an app name and key under the app.createApp method. Alternatively, you can leave the appKey field blank and one will be generated for you automatically. After that, you'll need to include the app key in the header of your api calls. See the app-framework for an example.