{"id":20970567,"url":"https://github.com/eventonehq/cordova-utils","last_synced_at":"2026-04-20T16:32:16.152Z","repository":{"id":34999992,"uuid":"195286819","full_name":"eventOneHQ/cordova-utils","owner":"eventOneHQ","description":"💻 A set of basic utilities for Apache Cordova apps.","archived":false,"fork":false,"pushed_at":"2022-12-04T01:48:58.000Z","size":1137,"stargazers_count":1,"open_issues_count":15,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T19:47:58.467Z","etag":null,"topics":["cli","cordova","semver","utility"],"latest_commit_sha":null,"homepage":"https://oss.eventone.page/cordova-utils/","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/eventOneHQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-04T18:32:25.000Z","updated_at":"2019-10-15T13:26:46.000Z","dependencies_parsed_at":"2023-01-15T11:46:45.336Z","dependency_job_id":null,"html_url":"https://github.com/eventOneHQ/cordova-utils","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventOneHQ%2Fcordova-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventOneHQ%2Fcordova-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventOneHQ%2Fcordova-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eventOneHQ%2Fcordova-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eventOneHQ","download_url":"https://codeload.github.com/eventOneHQ/cordova-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243365639,"owners_count":20279215,"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":["cli","cordova","semver","utility"],"created_at":"2024-11-19T03:59:30.756Z","updated_at":"2025-12-28T16:55:25.348Z","avatar_url":"https://github.com/eventOneHQ.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-utils\n\n[![Build Status](https://api.travis-ci.com/eventOneHQ/cordova-utils.svg?branch=master)](http://travis-ci.com/eventOneHQ/cordova-utils)\n[![NPM Version](https://img.shields.io/npm/v/cordova-utils.svg?style=flat)](https://www.npmjs.org/package/cordova-utils)\n[![NPM Downloads](https://img.shields.io/npm/dm/cordova-utils.svg?style=flat)](https://www.npmjs.org/package/cordova-utils)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nA set of basic utilities for Apache Cordova apps.\n\n## Installing\n\n```bash\nnpm install -g cordova-utils\n\n# or if you just want to use it locally\nnpx cordova-utils version -v 1.4.5 -b 445\n```\n\n_Note: For a global install of `-g cordova-utils`, OSX/Linux users may need to prefix the command with `sudo` or can setup [proper file permissions on OSX for npm](http://www.johnpapa.net/how-to-use-npm-global-without-sudo-on-osx/) to install without `sudo`._\n\n## Usage:\n\n### Command Line\n\n```bash\ncordova-utils version [options] -v \u003cversion\u003e -b \u003cbuild\u003e\n```\n\n**Example:**\n\n```bash\ncordova-utils version -v 1.4.5 -b 445\n```\n\n### Library\n\n**Example:**\n\n```javascript\n// CJS\nconst CordovaUtils = require('cordova-utils')\n// or MJS\nimport CordovaUtils from 'cordova-utils'\n\n\nconst cordovaUtils = new CordovaUtils()\n\ncordovaUtils\n  .setVersion(version, build, configFile)\n  .then(res =\u003e {\n    // do something\n  })\n  .catch(err =\u003e {\n    // handle error\n  })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feventonehq%2Fcordova-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feventonehq%2Fcordova-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feventonehq%2Fcordova-utils/lists"}