1.0.0 • Published 5 years ago

check-is-pwa v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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):

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