rokka-render
v0.10.2
Published
JavaScript client library for just some render functions of rokka.io
Downloads
1,411
Readme
rokka-render.js
Small JavaScript client library for just some rendering functions of rokka.js for rokka.
rokka-render.js runs on node as well as within the supported browsers.
It's mainly meant to be used in a browser, where size is important and where you just need the following methods and not the whole feature set of rokka.js:
Install
$ npm install rokka-render --save
Usage
import { getUrlFromUrl, getUrl, addStackVariables } from 'rokka-render'
const url = getUrlFromUrl('https://myorg.rokka.io/dynamic/c421f4e8cefe0fd3aab22832f51e85bacda0a47a.png', 'mystack')
See rokka.js#render for details about the methods.