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

adamantite

v0.30.2

Published

An strict and opinionated set of presets for modern TypeScript applications

Readme

Adamantite is a collection of presets for oxlint, oxfmt, TypeScript and sherif that are designed to help humans and agents write maintainable and scalable type-safe code, both for individual projects and monorepos.


Quick Start

Run the following command on your project to get started:

npx adamantite init

Adamantite will automatically configure your project with linting, formatting, and type-safety rules.

adamantite check          # Check code for issues without fixing using oxlint
adamantite fix            # Fix code issues using oxlint
adamantite format         # Format code using oxfmt
adamantite typecheck      # Run TypeScript type checking using the strict preset
adamantite monorepo       # Check monorepo for dependency issues using Sherif
adamantite update         # Update Adamantite's dependencies to the latest compatible versions

Features

  • ⚡ Fast performance: Built on oxc's Rust-based architecture for 10-40x faster linting than ESLint
  • 🔍 Extensive linting: 500+ rules covering correctness, performance, security, and accessibility
  • 🎯 Zero configuration: Works out of the box with sensible defaults, no setup required
  • 🔧 Single tool solution: Leverages the oxc ecosystem for linting and formatting
  • 🛡️ Strict type safety: Comes with a strict TypeScript preset to improve type safety across your codebase
  • 🏗️ Monorepo support: Unified configuration and dependency management across workspace packages
  • ⚙️ CI-friendly: Automatically configures GitHub Actions workflows to run checks in CI
  • 🤖 AI-friendly patterns: Consistent code style designed for effective AI collaboration

Installation

Automatic Setup (Recommended)

npx adamantite init

This interactive command will:

  • Install Adamantite, oxlint, and oxfmt as dev dependencies
  • Create oxlint.config.ts with opinionated presets
  • Create .oxfmtrc.json with formatting configuration
  • Set up tsconfig.json with strict TypeScript rules
  • Add lint/format scripts to your package.json
    • Also adds monorepo-specific scripts if running a monorepo
  • Configure editor settings

📋 Commands

adamantite check

Check your code for issues without automatically fixing them using oxlint:

# Check all files
adamantite check

# Check specific files
adamantite check src/components/**/*.ts

adamantite fix

Fix issues in your code with automatic formatting and safe fixes:

# Fix all files
adamantite fix

# Fix specific files
adamantite fix src/utils.ts

# Apply suggested fixes
adamantite fix --suggested

# Apply dangerous fixes
adamantite fix --dangerous

# Apply all fixes
adamantite fix --all

adamantite format

Format your code using oxfmt:

# Format all files
adamantite format

# Format specific files
adamantite format src/utils.ts

# Check if files are formatted without writing
adamantite format --check

adamantite monorepo

Special tooling for monorepo projects using Sherif:

# Check for monorepo-specific issues
adamantite monorepo

# Fix monorepo-specific issues
adamantite monorepo --fix

Automatically detects and fixes:

  • Inconsistent dependency versions across packages
  • Missing dependencies in package.json
  • Unused dependencies
  • Package.json formatting issues

adamantite typecheck

Run TypeScript type checking using tsc and the strict preset:

# Type check all files
adamantite typecheck

# Type check a specific project
adamantite typecheck --project tsconfig.json

adamantite update

Keep your dependencies current:

# Update to latest compatible versions
adamantite update

Presets

Linting (presets/lint/)

Adamantite provides comprehensive linting rules for TypeScript and JavaScript:

Core (core.ts)

Extensive ruleset covering:

  • Correctness: Bug prevention and code correctness enforcement
  • Performance: Optimization patterns and performance best practices
  • Restriction: Enforcing coding standards and preventing problematic patterns
  • Suspicious: Detecting code smells and potential bugs
  • Pedantic: Strict code quality and consistency enforcement
  • Style: Consistent code formatting and naming conventions
  • Nursery: Experimental rules under active development

Framework Presets

Framework-specific presets are available for:

  • React (react.ts) - React, React-perf, and JSX-a11y rules
  • Next.js (nextjs.ts) - Next.js-specific rules
  • Vue (vue.ts) - Vue.js rules
  • Node.js (node.ts) - Node.js-specific rules
  • Jest (jest.ts) - Jest testing rules
  • Vitest (vitest.ts) - Vitest testing rules

Formatting (presets/format.json)

Opinionated code formatting with oxfmt, configured for consistency and readability. Includes automatic import sorting and organization.

TypeScript (presets/tsconfig.json)

Strict TypeScript configuration for maximum type safety. Catches errors at compile-time that would otherwise cause runtime failures.

🛠️ Development

This project uses Bun for all development tasks:

# Install dependencies
bun install

# Run tests
bun test

# Build CLI
bun run build

# Type checking
bun run typecheck

🤝 Contributing

Contributions are welcome! Please read our contributing guidelines first.

📄 License

MIT © Adel Rodriguez