Skip to content

ccorcos/autoindex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autoindex Code Generator

Create autoindex.ts files throughout your codebase and generate an index file that exports all of the siblings.

Getting Started

npm install -g @ccorcos/autoindex

Given the following directory:

src/
	autoindex.ts
	hello.ts
	world.ts

Then run autoindex src.

And src/autoindex.ts will look like:

import * as hello from "./hello"
import * as world from "./world"

export {
	hello,
	world,
}

You can also watch as part of your build system.

autoindex src --watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published