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

@lankajs/tool-init

v1.0.0

Published

tool: One command that wires lanka into a project: a template, the packages it needs, the barrels, the build config and a feature written in the layers.

Readme

@lankajs/tool-init

⚒ tool · The first command

One command that wires lanka into a project: a template, the packages it needs, the barrels, the build config and a feature written in the layers.

Runs before runtime — build, lint, test. Neither module nor plugin.

Runs in: node.

How to use it: GUIDE.md — the user guide, with examples. How to change it: SKILL.md.

Contents

  • lanka-init — asks what this project is, then writes the wiring and installs the packages
  • lanka-init list — every template and every choice, with what each one installs
  • lanka-init plan — the same decision, reported and not written

Why a starter is one shape and not eleven

The eleven templates differ in the BUILD — which bundler adapter, which config file it goes in, and which screen a binding reads — and agree on everything above that. The feature this writes is one gateway, one ViewModel, one scenario and one screen, and the screen is the only file that knows which UI framework was chosen.

A second feature shape per transport was the alternative, and it buys a beginner nothing: a starter exists to be deleted, and every shape it has is a shape that has to stay correct through every version of the framework it demonstrates. So --transport graphql installs the plugin and names its guide; it does not write a second gateway that the first commit will replace.

What it will not do

Overwrite anything. A file that is already there is reported and kept, and the plan names it. This command is run twice more often than it is run once — a project adds a validator six months later — and a scaffolder that rewrites what a team has edited is a scaffolder nobody runs the second time.

Guess a version. The dependency names come from the catalog here; the RANGES come from the package manager the project already uses, which is asked to add them. A range written by this tool would be the version that was current when this tool was built, which is the one number it cannot know.

Why it asks

Eleven templates and four axes beside them are a decision tree, and a decision tree behind flags is one nobody walks: the flag that is not typed is the capability that is not found. So an absent choice is a QUESTION when somebody is there to answer it, and the template's default when nobody is — which is what --yes, a pipe and a CI runner all mean.


Repository map: ../../README.md