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

@vyriy/scripts

v0.9.3

Published

Shared scripts package for Vyriy projects

Readme

@vyriy/scripts

Part of Vyriy - a calm architecture toolkit for TypeScript, React, SSR, SSG, APIs, and cloud-ready apps.

Full documentation: https://vyriy.dev/docs/scripts/

Shared script factories for Vyriy projects.

Purpose

This package collects reusable deployment, build, smoke-test, and post-deploy script factories.

Every export is built on @vyriy/script, the common process wrapper used by Vyriy scripts. The wrapper keeps script execution consistent by centralizing process lifecycle behavior such as logging, timeout handling, and error reporting.

The package is meant for CI/CD and project-local automation where a project needs small, composable scripts instead of one large deployment framework.

Install

With npm:

npm install @vyriy/scripts

With Yarn:

yarn add @vyriy/scripts

Script Groups

API Smoke Scripts

  • lambda invokes a Lambda function directly with the shared smoke payload. Run this first when an API is backed by Lambda, because it shows whether the function is alive and its dependencies can load.
  • healthcheck calls the standard API Gateway healthcheck endpoint. This is the narrow API smoke check and is a good next step after lambda.
  • api resolves the API Gateway URL and passes it to a callback for custom API smoke scenarios across one or more endpoints.

Deployment Scripts

  • deploy runs AWS CDK synth, diff, and deploy in CI mode.
  • docker builds and pushes a Docker image to ECR with Docker Buildx.
  • kaniko builds and pushes a Docker image to ECR with Kaniko, usually for container-native CI.

docker and kaniko can be part of a deployment flow for services such as AWS Fargate tasks.

Static Smoke Scripts

  • mfe checks a static MFE distribution by requesting the distribution URL, index.html, and index.js.
  • site checks a static website by requesting the site URL, robots.txt, sitemap.xml, and every URL listed in the sitemap.

Both scripts are smoke tests, but at different static delivery levels: mfe is focused on a widget/application bundle, while site is focused on a complete static website.

Post-Deploy Scripts

  • webhooks triggers API webhook endpoints after deployment.

Use webhooks for environment preparation after a deployment. For example, a feature environment may need to call API webhooks that generate translations, warm content, or start a Fargate task before manual or automated testing begins.

Exports

import { api, deploy, docker, healthcheck, kaniko, lambda, mfe, site, webhooks } from '@vyriy/scripts';

Subpath imports are also supported:

import { api } from '@vyriy/scripts/api';
import { deploy } from '@vyriy/scripts/deploy';
import { docker } from '@vyriy/scripts/docker';
import { healthcheck } from '@vyriy/scripts/healthcheck';
import { kaniko } from '@vyriy/scripts/kaniko';
import { lambda } from '@vyriy/scripts/lambda';
import { mfe } from '@vyriy/scripts/mfe';
import { site } from '@vyriy/scripts/site';
import { webhooks } from '@vyriy/scripts/webhooks';

Examples

Lambda Smoke Test

import { lambda } from '@vyriy/scripts/lambda';

await lambda('my-function');

API Healthcheck

import { healthcheck } from '@vyriy/scripts/healthcheck';

await healthcheck();
await healthcheck('CustomApiUrl', 'status');

API Scenario

import { api } from '@vyriy/scripts/api';

await api(async (url) => {
  await fetch(`${url}healthcheck`);
  await fetch(`${url}users/me`);
});

CDK Deployment

import { deploy } from '@vyriy/scripts/deploy';

await deploy();

Docker Image Deployment

import { docker } from '@vyriy/scripts/docker';

await docker('./apps/api');

Kaniko Image Deployment

import { kaniko } from '@vyriy/scripts/kaniko';

await kaniko('./apps/api');

MFE Smoke Test

import { mfe } from '@vyriy/scripts/mfe';

await mfe();
await mfe('CustomDistributionUrl');

Static Site Smoke Test

import { site } from '@vyriy/scripts/site';

await site();
await site('CustomSiteUrl');

Webhook Execution

import { webhooks } from '@vyriy/scripts/webhooks';

await webhooks(['webhooks/build', 'webhooks/deploy']);