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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@walkeros/config

v0.1.3

Published

Shared development configuration for walkerOS packages (TypeScript, ESLint, Jest, tsup)

Readme

@walkeros/config

Unified development configuration package for walkerOS projects. This package provides shared configurations for TypeScript, ESLint, Jest, and tsup build tooling.

Installation

npm install --save-dev @walkeros/config

Usage

TypeScript Configuration

Extend from one of the provided TypeScript configurations in your tsconfig.json:

{
  "extends": "@walkeros/config/tsconfig/base.json",
  "compilerOptions": {
    "rootDir": "src"
  },
  "include": ["src/**/*"]
}

Available configs:

  • @walkeros/config/tsconfig/base.json - Base configuration for all projects
  • @walkeros/config/tsconfig/web.json - Browser/web projects (extends base)
  • @walkeros/config/tsconfig/node.json - Node.js projects (extends base)

ESLint Configuration

Import the configuration in your eslint.config.mjs:

import baseConfig from '@walkeros/config/eslint';

export default [
  ...baseConfig,
  {
    // Your custom rules
  },
];

Available configs:

  • @walkeros/config/eslint - Base configuration with TypeScript and Jest support
  • @walkeros/config/eslint/web - Web projects with browser globals
  • @walkeros/config/eslint/node - Node.js projects with Node.js rules

Jest Configuration

Use the shared Jest configuration in your jest.config.mjs:

import baseConfig from '@walkeros/config/jest/web.config';

export default {
  ...baseConfig,
  // Your custom configuration
};

Available configs:

  • @walkeros/config/jest - Base Jest configuration with SWC transform
  • @walkeros/config/jest/web.config - Web projects with jsdom environment
  • @walkeros/config/jest/node.config - Node.js projects
  • @walkeros/config/jest/web.setup - Web test setup file
  • @walkeros/config/jest/node.setup - Node.js test setup file

tsup Configuration

Use the shared build helpers in your tsup.config.ts:

import { defineConfig, buildModules } from '@walkeros/config/tsup';

export default defineConfig([buildModules()]);

Available helpers:

  • defineConfig - TypeScript-friendly config wrapper
  • buildModules() - Build CJS and ESM modules with type declarations
  • buildExamples() - Build example files
  • buildBrowser() - Build browser IIFE bundles
  • buildES5() - Build ES5-compatible bundles

Features

  • TypeScript: Strict type checking with modern ECMAScript targets
  • ESLint: TypeScript, React, and Jest linting with sensible defaults
  • Jest: Fast testing with SWC transforms and jsdom support
  • tsup: Simple, fast bundling with multiple output formats

Migration from Separate Packages

If you were previously using the separate config packages (@walkeros/tsconfig, @walkeros/eslint, @walkeros/jest, @walkeros/tsup), update your imports:

Before:

// package.json
"devDependencies": {
  "@walkeros/eslint": "*",
  "@walkeros/jest": "*",
  "@walkeros/tsconfig": "*",
  "@walkeros/tsup": "*"
}
// Config files
import from '@walkeros/eslint/index.mjs';
import from '@walkeros/jest/web.config.mjs';
import from '@walkeros/tsup';
{ "extends": "@walkeros/tsconfig/base.json" }

After:

// package.json
"devDependencies": {
  "@walkeros/config": "^0.1.0"
}
// Config files
import from '@walkeros/config/eslint';
import from '@walkeros/config/jest/web.config';
import from '@walkeros/config/tsup';
{ "extends": "@walkeros/config/tsconfig/base.json" }

License

MIT

Contributing

Issues and pull requests are welcome at github.com/elbwalker/walkerOS.