# cordova-platform-ready

> A tiny module to fire callback after cordova finishes initializing.

Latest version **1.0.0** (published 2016-11-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-platform-ready
pnpm add cordova-platform-ready
yarn add cordova-platform-ready
bun add cordova-platform-ready
```

## 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 | 2016-11-11 |
| First published | 2016-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | emgeee |
| Keywords | cordova, platform, initialize |

## Links

- npm: https://www.npmjs.com/package/cordova-platform-ready
- Repository: https://github.com/boosterfuels/cordova-platform-ready
- Homepage: https://github.com/boosterfuels/cordova-platform-ready#readme
- Issues: https://github.com/boosterfuels/cordova-platform-ready/issues
- npm.io page: https://npm.io/package/cordova-platform-ready

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-11-11

## README

cordova-platform-ready
===

This is a small module that provides a single API for executing code either after Cordova initializes or after the window loads, if running as a webpage.

Usage
---

```
function initialize () {
  // This code will be executed when the device is ready or the window loads
}

require('cordova-platform-ready').ready(initialize)
```

You can also queue up multiple callbacks to be executed:

```
const cordovaPlatformReady = require('cordova-platform-ready')

cordovaPlatformReady.ready(cb1)
cordovaPlatformReady.ready(cb2)
```

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