Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.56 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.56 KB

Latest release minzipped size Build Status

The official library for integrating snappify into your webapp.
Interested? Just hit us up at [email protected]


Made by Dominik & Anki

Installation

With NPM

npm i @snappify/integration

With yarn

yarn add @snappify/integration

Usage

Be aware that we restrict the integration of snappify by platforms at the moment. Are you interested? Hit us up at [email protected]

import { openSnappify } from '@snappify/integration';

async function() {
  try {
    const blob = await openSnappify();

    // do something with the blob, e.g. create an object url to show it in an img tag:
    // URL.createObjectURL(blob);
  } catch (error) {
    // error handling
  }
}