@capacitor/device 5.0.4

The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.

@capacitor/device@5.0.4 was published on 2023-06-09. Its manifest declares 0 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All @capacitor/device versions · Permanent reference to 5.0.4 · Latest release

Package specifications

Version5.0.4
License declarationMIT
Published2023-06-09T14:07:19.367Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size111.17 KiB
Published file count27
Package typeNot declared
ES module entrydist/esm/index.js
Default entrydist/plugin.cjs.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars687
Repository forks691

Install @capacitor/device 5.0.4

npm install @capacitor/device@5.0.4
pnpm add @capacitor/device@5.0.4
yarn add @capacitor/device@5.0.4

Runtime dependencies

  • None declared

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Maintained10/10 — 14 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
    Code-Review6/10 — Found 19/30 approved changesets -- score normalized to 6
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Binary-Artifacts0/10 — binaries present in source code
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    License0/10 — license file not detected
    Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
    Fuzzing0/10 — project is not fuzzed
    Security-Policy10/10 — security policy file detected
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

    Evidence and freshness