JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1025
  • Score
    100M100P100Q115895F
  • License MIT

JavaScript client library for just some render functions of rokka.io

Package Exports

  • rokka-render
  • rokka-render/dist/index.esm.js
  • rokka-render/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rokka-render) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.