# tsdetect

> A command line tool to detect TypeScript maybe used in your project.

Latest version **0.0.2** (published 2015-09-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install tsdetect
pnpm add tsdetect
yarn add tsdetect
bun add tsdetect
```

Provides the command `tsdetect`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-09-26 |
| First published | 2015-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yusuke Watanabe |
| Maintainers | nabeix |
| Keywords | TypeScript |

## Links

- npm: https://www.npmjs.com/package/tsdetect
- Repository: https://github.com/nabeix/tsdetect
- Issues: https://github.com/nabeix/tsdetect/issues
- npm.io page: https://npm.io/package/tsdetect

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^2.8.1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2015-09-26
- 0.0.1 — 2015-09-26

## README

# tsdetect [![Build Status](https://travis-ci.org/nabeix/tsdetect.svg?branch=master)](https://travis-ci.org/nabeix/tsdetect)

A command line tool to detect TypeScript maybe used in your project.

## Install

```
$ npm install -g tsdetect
```

## Usage

In your project directory, type `tsdetect` command.

```
$ tsdetect
/Users/nabeix/.nodebrew/current/lib/node_modules/typescript
```

## Use as node module

```
$ npm instal tsdetect --save
```

```
var tsdetect = require('tsdetect');

tsdetect.detect("/path/to/project", function(error, result) {
    console.log(result);
});
```

## How it works

`tsdetect` tries to detect TypeScript using npm command in the following order.

1. node_modules/typescript
2. node_modules/gulp-typescript/node_modules/typescript
3. node_modules/grunt-typescript/node_modules/typescript
4. global installed

## Contribution

1. Fork it ( http://github.com/nabeix/tsdetect )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request

## License

MIT

---
_Source: https://npm.io/package/tsdetect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
