Barrelsby is a TypeScript utility that automatically generates barrel files (index.ts or index.js) to simplify imports in large projects. It helps developers manage exports efficiently by creating centralized entry points.

Features

  • Automatically generates barrel files for better import management
  • Supports recursive directory scanning to include nested modules
  • Configurable output structure to match project requirements
  • Allows filtering of files and folders to exclude unnecessary exports
  • Works with both JavaScript and TypeScript projects
  • Integrates with npm scripts for automated workflows

Project Samples

Project Activity

See All Activity >

Categories

Package Managers

License

MIT License

Follow Barrelsby

Barrelsby Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Barrelsby!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Package Managers

Registered

2025-03-04