# has-termux-api

> Check wether termux-api is installed or not

Latest version **1.0.0** (published 2017-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install has-termux-api
pnpm add has-termux-api
yarn add has-termux-api
bun add has-termux-api
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-09-16 |
| First published | 2017-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Rocco Musolino |
| Maintainers | roccomuso |
| Keywords | termux, node, js, termux-api, android |

## Links

- npm: https://www.npmjs.com/package/has-termux-api
- Repository: https://github.com/roccomuso/has-termux-api
- Issues: https://github.com/roccomuso/has-termux-api/issues
- npm.io page: https://npm.io/package/has-termux-api

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-09-16

## README

# has-termux-api

[![NPM Version](https://img.shields.io/npm/v/has-termux-api.svg)](https://www.npmjs.com/package/has-termux-api)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

> Node module to check if termux-api is installed

## Install

    $ npm install --save has-termux-api

It works well with the [termux](https://github.com/roccomuso/termux) node module.

## Usage

```javascript
const hasTermux = require('has-termux-api')

hasTermux().then(function () {
  // yeah
}).catch(function () {
  // nope
})
```

## Sync usage

```javascript
const hasTermux = require('has-termux-api')

if (hasTermux.sync()) {
  // ...  
} else {
  // install it: apt install termux-api
}
```

# Author

Rocco Musolino ([@roccomuso](https://twitter.com/roccomuso))

# License

MIT

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