{"id":16760308,"url":"https://github.com/roccomuso/has-termux-api","last_synced_at":"2025-04-10T17:37:26.515Z","repository":{"id":57261526,"uuid":"103766931","full_name":"roccomuso/has-termux-api","owner":"roccomuso","description":"Node module to check if termux-api is installed","archived":false,"fork":false,"pushed_at":"2017-09-16T19:46:37.000Z","size":3,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T15:11:28.061Z","etag":null,"topics":["android","api","js","module","node","termux","termux-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roccomuso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-16T16:30:56.000Z","updated_at":"2024-09-24T12:50:36.000Z","dependencies_parsed_at":"2022-08-25T05:11:31.024Z","dependency_job_id":null,"html_url":"https://github.com/roccomuso/has-termux-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fhas-termux-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fhas-termux-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fhas-termux-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roccomuso%2Fhas-termux-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roccomuso","download_url":"https://codeload.github.com/roccomuso/has-termux-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262033,"owners_count":21074236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","api","js","module","node","termux","termux-api"],"created_at":"2024-10-13T04:23:05.687Z","updated_at":"2025-04-10T17:37:26.486Z","avatar_url":"https://github.com/roccomuso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# has-termux-api\n\n[![NPM Version](https://img.shields.io/npm/v/has-termux-api.svg)](https://www.npmjs.com/package/has-termux-api)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n\u003e Node module to check if termux-api is installed on your Android\n\n## Install\n\n    $ npm install --save has-termux-api\n\nIt works well with the [termux](https://github.com/roccomuso/termux) node module.\n\n## Usage\n\n```javascript\nconst hasTermux = require('has-termux-api')\n\nhasTermux().then(function () {\n  // yeah\n}).catch(function () {\n  // nope\n})\n```\n\n## Sync usage\n\n```javascript\nconst hasTermux = require('has-termux-api')\n\nif (hasTermux.sync()) {\n  // ...  \n} else {\n  // install it: apt install termux-api\n}\n```\n\n# Author\n\nRocco Musolino ([@roccomuso](https://twitter.com/roccomuso))\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froccomuso%2Fhas-termux-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froccomuso%2Fhas-termux-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froccomuso%2Fhas-termux-api/lists"}