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

@elizaos/config

v1.6.5

Published

Shared configuration for ElizaOS projects and plugins

Readme

@elizaos/config

Shared configuration package for ElizaOS projects and plugins. This package provides standardized TypeScript, ESLint, and Prettier configurations to ensure consistency across the ElizaOS ecosystem.

Overview

This package centralizes common development configurations used throughout ElizaOS, making it easy to maintain consistent code style, linting rules, and TypeScript settings across all packages and plugins.

Installation

bun add -d @elizaos/config

Available Configurations

TypeScript Configurations

  • Base Config (tsconfig.base.json): Core TypeScript settings for all ElizaOS packages
  • Plugin Config (tsconfig.plugin.json): Extends base config with plugin-specific settings
  • Frontend Config (tsconfig.frontend.json): For frontend/client-side packages
  • Test Config (tsconfig.test.json): Optimized for test files

ESLint Configurations

  • Base Config (eslint.config.base.js): Core linting rules and settings
  • Plugin Config (eslint.config.plugin.js): ESLint configuration for plugins
  • Frontend Config (eslint.config.frontend.js): ESLint rules for frontend code

Prettier Configuration

  • Prettier Config (prettier.config.js): Standard code formatting rules

Usage

TypeScript Configuration

In your tsconfig.json:

{
  "extends": "@elizaos/config/typescript/tsconfig.base.json",
  "compilerOptions": {
    "outDir": "./dist",
    "rootDir": "./src"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}

For plugins, extend the plugin-specific config:

{
  "extends": "@elizaos/config/typescript/tsconfig.plugin.json"
}

ESLint Configuration

Create an eslint.config.js file:

import pluginConfig from '@elizaos/config/eslint/eslint.config.plugin.js';

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

Prettier Configuration

Create a prettier.config.js file:

import prettierConfig from '@elizaos/config/prettier/prettier.config.js';

export default {
  ...prettierConfig,
  // Your custom overrides here
};

Or reference it directly in package.json:

{
  "prettier": "@elizaos/config/prettier/prettier.config.js"
}

Exports

The package provides the following exports for direct import:

// TypeScript configs
import tsConfigBase from '@elizaos/config/typescript/tsconfig.base.json';
import tsConfigPlugin from '@elizaos/config/typescript/tsconfig.plugin.json';
import tsConfigFrontend from '@elizaos/config/typescript/tsconfig.frontend.json';
import tsConfigTest from '@elizaos/config/typescript/tsconfig.test.json';

// ESLint configs
import eslintConfigPlugin from '@elizaos/config/eslint/eslint.config.plugin.js';
import eslintConfigFrontend from '@elizaos/config/eslint/eslint.config.frontend.js';
import {
  baseConfig,
  testOverrides,
  standardIgnores,
} from '@elizaos/config/eslint/eslint.config.base.js';

// Prettier config
import prettierConfig from '@elizaos/config/prettier/prettier.config.js';

Configuration Paths

The package also exports configuration paths that can be used programmatically:

import { configPaths } from '@elizaos/config';

console.log(configPaths.typescript.base); // '@elizaos/configs/typescript/tsconfig.base.json'
console.log(configPaths.eslint.plugin); // '@elizaos/configs/eslint/eslint.config.plugin.js'
console.log(configPaths.prettier); // '@elizaos/configs/prettier/prettier.config.js'

Development

This is a private package used internally by ElizaOS. To make changes:

  1. Clone the ElizaOS monorepo
  2. Make your changes in packages/config/src/
  3. Run bun run format to ensure formatting
  4. Submit a PR with your changes

Scripts

  • bun run lint - Format code with Prettier
  • bun run format - Format code with Prettier
  • bun run format:check - Check code formatting

License

MIT