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

sails-hook-slipway

v0.0.3

Published

Auto-instrumentation hook for Sails.js apps deployed on Slipway. Sends request traces, exceptions, and database query metrics to your Slipway Lookout dashboard.

Readme

sails-hook-slipway

The Sails hook that makes your app Slipway-aware

What It Does

This hook transforms any Sails app into a fully-managed application with:

  • The Bridge - Auto-generated CRUD for all your models (ship's command center)
  • The Helm - Production REPL with full Sails context (where you steer your app)
  • Quest Dashboard - Job queue management (if sails-quest installed)
  • Content CMS - Visual content editor (if sails-content installed)
  • Telemetry - OpenTelemetry instrumentation sent to Slipway

Routes

| Route | Feature | Condition | |-------|---------|-----------| | /slipway | Control panel dashboard | Always | | /slipway/bridge | The Bridge (data management) | Always | | /slipway/helm | The Helm (REPL) | Always | | /slipway/quest | Job queue dashboard | If sails-quest detected | | /slipway/content | CMS interface | If sails-content detected |

Two Access Methods

1. Direct (via app URL)

myapp.example.com/slipway/bridge
myapp.example.com/slipway/helm

Users go directly to your app's Bridge or Helm.

2. Via Slipway Dashboard (centralized)

slipway.yourdomain.com/app/myapp/bridge
slipway.yourdomain.com/app/myapp/helm

The Slipway Dashboard proxies requests, providing single sign-on across all apps.

Installation

npm install sails-hook-slipway

The hook auto-registers with Sails.

Configuration

// config/slipway.js
module.exports.slipway = {
  bridge: {
    enabled: true,
    path: '/slipway/bridge'
  },
  helm: {
    enabled: true,
    path: '/slipway/helm',
    readOnly: false  // Set true in production
  },
  quest: {
    enabled: true    // Auto-disabled if sails-quest not installed
  },
  content: {
    enabled: true    // Auto-disabled if sails-content not installed
  },
  telemetry: {
    enabled: true,
    endpoint: process.env.SLIPWAY_TELEMETRY_URL
  }
}

Permissions (Sails Clearance)

The hook integrates with Sails Clearance for fine-grained access control:

{
  'bridge:read': ['admin', 'support'],
  'bridge:write': ['admin'],
  'helm:access': ['admin', 'developer'],
  'quest:retry': ['admin', 'developer'],
  'content:publish': ['admin', 'editor']
}

Dev Mode

When you run slipway dev, this hook provides the full experience locally:

slipway dev

  App:      http://localhost:1337
  Bridge:   http://localhost:1337/slipway/bridge
  Helm:     http://localhost:1337/slipway/helm

Part of the Slipway Suite

  • Slipway Dashboard - Can proxy to this hook's routes
  • slipway CLI - slipway helm connects to this hook

Where your apps slide into production.