has-tsconfig
v1.0.0
Published
Indicate the project has 'tsconfig.json' file.
Readme
has-tsconfig 
Indicates whether the project has
tsconfig.jsonfile.
Install
$ npm install --save has-tsconfigUsage
./dev
├── bar
│ └── package.json
└── foo
├── package.json
└── tsconfig.jsonconst hasTsconfig = require('has-tsconfig');
hasTsconfig('./dev/foo');
//=> true
hasTsconfig('./dev/bar');
//=> falseAPI
hasTsconfig(paths)
Returns a boolean value from the given paths.
paths
Type: string
Default: process.cwd()
License
MIT © Guntur Poetra
