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

iec-builder

v0.1.0

Published

CI/CD Build Service for InsurEco Tawa platform

Readme

iec-builder

CI/CD Build Service for InsurEco Tawa platform.

Overview

iec-builder receives webhooks from Git providers (GitHub, GitLab, Bitbucket), builds Docker images, and deploys to Kubernetes. It runs on the tawa-builder server (64.23.181.20) alongside Docker.

Architecture

Developer's Repo → Webhook → iec-builder → Docker Build → registry.insureco.io → K8s Deploy

API Endpoints

Webhooks

  • POST /webhooks/github - GitHub push webhook
  • POST /webhooks/gitlab - GitLab push webhook
  • POST /webhooks/generic - Generic webhook

Services (registered apps)

  • GET /services - List registered services
  • POST /services - Register a new service
  • GET /services/:id - Get service details
  • PATCH /services/:id - Update service config
  • DELETE /services/:id - Unregister service
  • GET /services/:id/builds - Get builds for service

Builds

  • GET /builds - List builds
  • GET /builds/:id - Get build details
  • GET /builds/:id/logs - Get build logs
  • POST /builds/trigger - Manually trigger build
  • POST /builds/:id/cancel - Cancel a build
  • POST /builds/:id/retry - Retry a failed build

Development

npm install
npm run dev

Deployment (tawa-builder)

# SSH into tawa-builder
ssh tawa

# Deploy updates
cd /opt/iec-builder
git pull origin main
npm install
npm run build
pm2 restart iec-builder
pm2 save

Server Details

  • Host: 64.23.181.20 (ssh alias: tawa)
  • User: tawa
  • SSH Key: ~/.ssh/do_2025
  • App Path: /opt/iec-builder
  • PM2 ID: 0

Quick Deploy Command

ssh tawa "cd /opt/iec-builder && git pull && npm install && npm run build && pm2 restart iec-builder"

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | PORT | 3002 | HTTP port | | MONGODB_URI | mongodb://localhost:27017/builder | MongoDB connection | | REDIS_URL | redis://localhost:6379 | Redis connection | | KOKO_URL | http://koko... | Koko service URL | | WORKSPACE_DIR | /tmp/iec-builds | Build workspace | | DOCKER_REGISTRY | registry.insureco.io/insureco | Container registry | | DOCKER_REGISTRY_USER | | Registry username (Forgejo user) | | DOCKER_REGISTRY_TOKEN | | Registry password (Forgejo access token) | | K8S_NAMESPACE | iec-platform | Kubernetes namespace |