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
Cut Data Warehouse Costs by 54% Icon
Cut Data Warehouse Costs by 54%

Easily migrate from Snowflake, Redshift, or Databricks with free tools.

BigQuery delivers 54% lower TCO with exabyte scale and flexible pricing. Free migration tools handle the SQL translation automatically.
Try Free
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