slsignpagedata

Utility to sign page data (RondavuData) for use with Sociable Labs's widgets

Usage no npm install needed!

<script type="module">
  import slsignpagedata from 'https://cdn.skypack.dev/slsignpagedata';
</script>

README

SLSignPageData

Node.js module to sign page data (RondavuData) for use with Sociable Labs's widgets. More information about these widgets avaliable at http://sociablelabs.com

Installation

npm install SLSignPageData

Usage

var SLSignPageData = require('slsignpagedata');

var RondavuData = {config:{version:"1.2"}, page: .....

SLSignPageData.signPageData(RondavuData);

console.log(JSON.stringify(RondavuData));