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

ayrton

v0.0.1

Published

Automate any workflow in less time than it takes to write an email.

Downloads

14

Readme

Description

Automate any workflow in less time than it takes to write an email.

No need to write tones of code, just write simple instructions in plain english.

I like to think of Ayrton as a no-code tool built for coders.

(example gif. Typing in fun automation and running in cli)

The Problem

All developers have a huge todo list of tasks they want to automate but never find the time. Why?

The problem is that, even for experienced devs, writing automation takes a long time. Setting up a package, installing and using sdks, trying to remember cron syntax, error handling, deployment etc.

Ayrton is a better way. You just write automation as a set of simple english instuctions and this library takes care of the rest.

❌ For example, one common action in many automations is sending an SMS. In JavaScript you would have to write:

const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
const client = require('twilio')(accountSid, authToken);

const message = 'hey from ayrton';
const from = '+528273';
const to = '+928757';
try{
    const message = await client.messages
                .create({
                    body: message,
                    from: from,
                    to: to
                });
}catch(e){
    console.log('handle error')
}

✔️ With ayrton this becomes:

send sms from {+528273} to {+928757} with message {hey from ayrton} 

Use one of the many built in automation steps (known in Ayrton simply as a "step") like the SMS example above or build your own in TypeScript or JavaScript.

Features

  • Write workflow automations in plain text
  • Many built in utilities
  • Easily extended with JavaScript

Examples Automations

Hacker News alerts

every {60} minutes
get top {20} HN stories 
if {$title} contains {automation}
send email with {new automation story on HN} and {$title} and {$url}

Tweeting new products

When new item added to shopify store
if {$product} is {discounted}
publish tweet {New product added to sale} {$description} {$price}

Installation

npm install -g ayrton

Usage

import ayrton from 'ayrton';

ayrton.start('workflow/directory', 'custom-steps/directory');
ayrton.on('error', (error)=>{
    console.log(error);
});

CLI Usage (TODO)

ayrton --workflows ~/me/workflows

CLI run with custom steps (TODO)

ayrton --workflows ~/me/workflows --custom-steps ~/me/custom-steps