</>PackageGraphPackageGraph

is-standalone-pwa

npmv0.1.1TypeScript

Detect if PWA is running in standalone mode

Adopt with care

is-standalone-pwa is usable, with caveats. Last published 671 days ago. 2 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 671 days ago. 2 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 6.4 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding is-standalone-pwa to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

6.4 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the is-standalone-pwa README.

import { isStandalonePWA } from is-standalone-pwa;

if (isStandalonePWA()) {
    console.log('Hide download <button>!');
}

is-standalone-pwa vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
is-standalone-pwathis page01MIT1 year ago
ua-parser-js01AGPL-3.0-or-later1 day ago
detect-europe-js01MIT1 day ago
ua-is-frozen01MIT1 day ago

Dependencies

Declared by is-standalone-pwa v0.1.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

mocha ^10.2.0typescript ^5.2.2

Used by

Popular packages that depend on is-standalone-pwa.

Relationship graph

Dependencies (left) and dependents (right) of is-standalone-pwa.

ua-parser-jsis-standalone-pwa
is-standalone-pwa dependencies dependents

Frequently installed together

Release history

No releases in the last two years.

Recent versions of is-standalone-pwa
VersionPublishedSizeLicense
0.1.1latest1 year ago6.4 KBMIT
0.1.01 year ago5.9 KBMIT

Overview

is-standalone-pwa is an npm package that detect if PWA is running in standalone mode. It has 1 known dependents in the graph. The latest version is 0.1.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need detect if PWA is running in standalone mode and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (2 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use is-standalone-pwa?

is-standalone-pwa is usable, with caveats. Last published 671 days ago. 2 releases in the last 2 years.

How do I install is-standalone-pwa?

Run `npm install is-standalone-pwa` to add is-standalone-pwa to your npm project.

What license is is-standalone-pwa released under?

is-standalone-pwa is distributed under the MIT license.

How popular is is-standalone-pwa?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on is-standalone-pwa.

Is is-standalone-pwa still maintained?

The most recent release of is-standalone-pwa (v0.1.1) was published 1 year ago.

Does is-standalone-pwa run install scripts?

No. is-standalone-pwa does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.