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

playground-step-library

v1.2.1

Published

A compiler that transforms WordPress Playground blueprints with custom steps into blueprints with native steps

Readme

WordPress Playground Step Library

In this Github repository we collect custom blueprint steps for WordPress Playground.

Web UI

You can then use those custom steps in our Step Builder to create more complex WordPress Playground setups more easily.

NPM Package

You can also use the steps in your own projects by using the npm package.

📚 Documentation

Comprehensive documentation for all steps is available:

What does it mean?

You can tell WordPress Playground what to do before it loads using a Blueprint JSON file. There are a number of builtin steps provided that in combination can make it do powerful things.

Now, this tool collects custom steps that make it easier to specify more complex tasks. The steps get transformed into builtin steps to form a valid, final blueprint that can be executed by WordPress Playground.

How does it work?

In the Step Library UI you can select the steps you want to use by clicking or dragging. On each step you can modify the variables if any. You can also reorder the steps when necessary.

The final blueprint is immediately updated so that you can click the "Launch in Playground" to see if it achieves what you try to do.

Sharing & Import/Export

To make it easy to share what you are building, the URL of the page is updated with the blueprint. You can copy the URL and share it with others.

You can also share the Playground URL which contains the final blueprint.

Import blueprints:

  • Drag & drop any .json blueprint file to import it
  • Paste Playground URLs - Both hash format and Query API URLs
  • Native Playground blueprints are automatically decompiled into custom steps

See Blueprint Import for details.

Screenshot

step-library

Try it now from scratch or with a preloaded example.

Contributing

We welcome contributions! See our Contributing Guide for details on:

  • Setting up your development environment
  • Creating new steps
  • Testing your changes
  • Submitting pull requests

Using as NPM Package

The npm package provides a compiler to transform WordPress Playground blueprints with custom steps into blueprints with native steps. It's available as an npm package.

npm install playground-step-library
import PlaygroundStepLibrary from 'playground-step-library';

const compiler = new PlaygroundStepLibrary();

// Compile to V1 format (imperative, with steps array)
const v1 = compiler.compile({
    steps: [
        { step: 'setSiteName', sitename: 'My Site', tagline: 'A WordPress site' }
    ]
});

// Compile to V2 format (declarative, with schema properties)
const v2 = compiler.compileV2({
    steps: [
        { step: 'setSiteName', sitename: 'My Site', tagline: 'A WordPress site' }
    ]
});

// Transpile native V1 blueprints to V2 (limited support - see docs)
const result = compiler.transpile(nativeV1Blueprint);

See the Programmatic API Documentation for full details on CLI usage, methods, and examples.

Custom Steps

This library provides 62 total steps (8 built-in enhanced steps + 54 custom steps):

Built-in Enhanced Steps

Custom Steps