/integration

Easily integrate snappify into your webapp

Primary LanguageTypeScriptMIT LicenseMIT

Latest release minzipped size Build Status

The official library for integrating snappify into your webapp.
Interested? Just hit us up at info@snappify.com

Website · Twitter

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 info@snappify.com

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
  }
}