Giter VIP home page Giter VIP logo

pwafire's Introduction

Progressive Web Apps API of APIs (Sponsor us)

Build Scalable Progressive Web Apps. Start via docs.pwafire.org site.

Build package CI

Breaking change for v3.0.0 moving forward

All async responses returned have a new success value, a boolean type which replaces type value, a string as shown below;

// Async API...
const res = await pwa.CopyText(text);

// Lower versions...
 if(res.type === 'success')  {
   // Do something...
 }

// New version starting v3.0.0
 if(res.success)  {
   // Do something...
 }

Introducing pwafire cdn and npm

Progressive Web Apps API of APIs. All New Web Capabilities as one Package.

Install pwafire via NPM

 npm i pwafire --save

Get pwafire over CDN as an E6 Module

Note that you can still use a specific version over the pwafire cdn

Latest version

import pwafire from "https://unpkg.com/pwafire/esm/index.js";
const pwa = pwafire.pwa;

Specific version

import pwafire from "https://unpkg.com/[email protected]/esm/index.js";
const pwa = pwafire.pwa;

Example : using pwafire

Import pwafire in your react app

import pwafire from "pwafire";
const pwa = pwafire.pwa;

Call the share method on pwa

pwa.Share(data);

Preview Documentation : Get Started

PWA : New Web Capabilities

Feature Feature
Custom Install Button Offline Capabilities
Background Sync Native App Install Banner
Badging Web Share
Contact Picker Copy Text
Share Target Copy Images
Screen Wake Lock Push Notifications
View All, 10 + Here

Chat : Join the conversation

Follow our Developer Account on Twitter. Get Live Help on our Slack Workspace.

Communication Channel Talk to us
Twitter Chat Tweet us

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website [Contribute]

Contribute

Propose your Feature by Creating an Issue

License

License Link
MIT License View License

pwafire's People

Contributors

mayeedwin avatar bolajiayodeji avatar aarongustafson avatar monkeywithacupcake avatar attaradev avatar vrijraj avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.