Socket
Socket
Sign inDemoInstall

check-is-pwa

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    check-is-pwa

Check if app is running as PWA


Version published
Weekly downloads
26
decreased by-25.71%
Maintainers
1
Install size
7.50 kB
Created
Weekly downloads
 

Changelog

Source

1.0.0 (2020-08-28)

New Feature

  • added the checkIsPwa function

Readme

Source

check-is-pwa

NPM version NPM downloads NPM license All Contributors Codecov Travis Bundle size

About ℹ️

Check if app is running as PWA

Alternatives

How to Install 💾

First, install the library in your project by npm:

$ npm install check-is-pwa

Or Yarn:

$ yarn add check-is-pwa

Getting Started 🏁

Connect libary to project:

import checkIsPwa from 'check-is-pwa';

Next use library:

const status = checkIsPwa();

Example

// app is running as PWA

checkIsPwa() // true
// app is NOT running as PWA / running in SSR

checkIsPwa() // false

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jakub Biesiada

💻 ⚠️ 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

License 🔱

This project is licensed under the MIT License © 2020-present Jakub Biesiada

Keywords

FAQs

Last updated on 28 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc