ng-indexerdeprecated

Command line utility

Usage no npm install needed!

<script type="module">
  import ngIndexer from 'https://cdn.skypack.dev/ng-indexer';
</script>

README

ng-indexer

A small utility for generating index.ts and module files for angular2+.

Usage:

ng-indexer [path-to-tsconfig]

Arguments:

path-to-tsconfig - a specific tsconfig.json file to use.

Output:

index.ts - all exports in the directory
[name].module.ts - updated to reflect added/removed components/pipes/directives/services/etc

NOTES:

While this could be adapted for more general uses for either javascript or typescript, it was purpose-build 
to be used with an angular2+ application using typescript.