1.0.0 • Published 5 years ago
check-is-pwa v1.0.0
check-is-pwa
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-pwaOr Yarn:
$ yarn add check-is-pwaGetting 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() // falseContributors ✨
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