Skip to content

[ Anolilab — Visulima Open source toolkit ]

Here is one library going from source to release in four steps, using four of the packages. Each installs on its own and none of them need the others.

The boring parts of shipping a TypeScript library, already solved.

[ Anolilab — Step 1 of 4 ]

Packem reads the entry points out of the exports you already declared, so there is no second list of files to keep in step with package.json.

Build it without a config file.

@visulima/packem
6k / week
pnpm add -D @visulima/packem

Next, see what it does at runtime

package.json
// package.json
{
  "exports": {
    "import": "./dist/index.mjs",
    "require": "./dist/index.cjs"
  },
  "types": "./dist/index.d.ts"
}

$ packem build
// CJS and ESM, .d.ts bundled, dependencies
// externalised. No config file required.

[ Anolilab — Step 2 of 4 ]

Readable badges while you work, structured JSON in production, and the same logger in Node, at the edge and in the browser. Repeated lines get collapsed instead of flooding the output.

Watch what it does.

@visulima/pail
6k / week
pnpm add @visulima/pail

Next, give it a command line

logger.ts
import { pail } from "@visulima/pail";

pail.success("Operation successful");
pail.pending("Write release notes for %s", "1.2.0");
pail.fatal(new Error("Unable to acquire lock"));

// Or configure your own instance
import { createPail } from "@visulima/pail";

const logger = createPail({ logLevel: "warn" });

logger.info("Filtered out");
logger.force.info("Logged anyway");

[ Anolilab — Step 3 of 4 ]

Commands, flags and arguments, with the help output generated from the same definition, so the documentation cannot drift from the parser. Runs on Node, Deno and Bun.

Give it a command line.

@visulima/cerebro
6k / week
pnpm add @visulima/cerebro

Last, keep the repository honest

cli.ts
import { Cerebro } from "@visulima/cerebro";

const cli = new Cerebro("my-cli");

cli.addCommand({
  name: "build",
  description: "Build the project",
  options: [
    {
      name: "output",
      alias: "o",
      type: String,
      defaultValue: "dist",
    },
    { name: "watch", alias: "w", type: Boolean },
  ],
  execute: ({ logger, options }) => {
    logger.info(`Building to ${options.output}`);
  },
});

await cli.run();

[ Anolilab — Step 4 of 4 ]

One toolkit for the chores: a task runner with a cache, staged-file hooks, secret scanning, and a pinned installer so a fresh clone resolves the same tree. This site is built with it.

Keep the repository honest.

@visulima/vis
4k / week
pnpm add -D @visulima/vis
vis.config.ts
// vis.config.ts
import { defineConfig } from "@visulima/vis/config";

export default defineConfig({
  install: { backend: "aube" },
  staged: {
    "*.{ts,tsx}": ["eslint --fix", "prettier --write"],
    "package.json": (files) =>
      `sort-package-json ${files.join(" ")}`,
  },
});
Packages published on npm
60+
Downloads per week
500k+
Licensed, every package
MIT

[ Anolilab ]

The four above are the walkthrough. These are the ones that quietly turn up in the most lockfiles.

Most installed

  • @visulima/boxenBoxes in the terminal159k
  • @visulima/vite-overlayReadable Vite errors32k
  • @visulima/errorStack traces worth reading31k
  • @visulima/fsFilesystem helpers29k
  • @visulima/tabularTables in the terminal25k
  • @visulima/pathCross-platform paths25k

[ Anolilab ]

One monorepo, released package by package. Take the two you need and leave the rest.

What is in there

  • 13Terminal
  • 10Data manipulation
  • 8Error and debugging
  • 8Tooling
  • 5Email
  • 3Filesystem
  • 3API
  • 2Storage
  • 1Workflow
  • 1Notification

[ Anolilab ]

Every package targets modern Node and is verified against the alternative runtimes before release.

Tested on the runtimes you ship to.

  • Node.js
  • Bun
  • Deno
  • Cloudflare

[ Anolilab ]

Everything is developed in public. Open an issue, send a patch, or just take the package and go.

Use it, break it, tell us

[ Anolilab — Contact ]

Tell me what you're building. I'll tell you how I can help.

Let's talk.

Quick response.
If you're ready to create and collaborate, I'd love to hear from you.
Clear next steps.
After the consultation, I'll give you a detailed plan.
Alternatively, you can email me directly at hello@anolilab.com