@flayyer/flayyer

Repository: https://github.com/flayyer/flayyer

This module is agnostic to any JS framework and has only one peer dependency: qs

Terminal.app
yarn add @flayyer/flayyer

After installing this module you can format URLs just like this example:

import { Flayyer } from "@flayyer/flayyer";
const flayyer = new Flayyer({
tenant: "tenant",
deck: "deck",
template: "template",
variables: {
title: "Hello world!",
},
});
// Use this image in your <head/> tags
const url = flayyer.href();
// > https://flayyer.io/v2/tenant/deck/template.jpeg?__v=1596906866&title=Hello+world%21
note

For additional information about variables and other terminology please read Concepts.

Last updated on by Patricio López Juri