has-termux-api
Node module to check if termux-api is installed
Install
$ npm install --save has-termux-api
It works well with the termux node module.
Usage
const hasTermux =
Sync usage
const hasTermux = if hasTermux // ... else // install it: apt install termux-api
Author
Rocco Musolino (@roccomuso)
License
MIT