tsfind

Find TypeScript files for tsconfig

Usage no npm install needed!

<script type="module">
  import tsfind from 'https://cdn.skypack.dev/tsfind';
</script>

README

tsfind

NPM Version Build Status Coverage

Find TypeScript files for tsconfig

Installation

npm install tsfind --save-dev

Usage

tsfind can be used programatically but is meant to be used with primarily through the command line interface.

CLI Options

--tsconfig {string}            
    The path to the tsconfig. Defaults to "cwd/tsconfig.json"
--glob     {string | string[]} 
    The glob pattern to use. Will use the "filesGlob" key in tsconfig if not specified.

All additional files passed in will be explicitly used.

Contributing

Feel free to fork and submit pull requests for the configuration. For a sanity check:

git clone git@github.com:pspeter3/tsfind.git
cd tsfind
npm install
npm run typings
npm test