rokka-render
TypeScript icon, indicating that this package has built-in type declarations

0.10.2 • Public • Published

rokka-render.js NPM version Build Status

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.

Package Sidebar

Install

npm i rokka-render

Weekly Downloads

487

Version

0.10.2

License

MIT

Unpacked Size

44.5 kB

Total Files

14

Last publish

Collaborators

  • chregu