Hellobot
A friendly javascript pre-rendering engine - BETA (UNSTABLE)
npm install hellobot
Introduction
Pre-render your javascript pages on the fly for improved SEO.
Usage
This module contains 2 main entry points, the converter and the client...
The Converter
The converter is responsible for converting and responding with pre-renderdered HTML based on a url passed as a parameter.
var Hellobot = server;var hellobot = ; hellobot
The Client
If required, the client requests HTML from the converter, supplying a request endpoint.
const app = ; var Hellobot = client;var hellobot = converter: 'https://my-rest-endpoint.com/render';app; // Express coming soon
Caching the results
Supply an initialized redis client to persist HTML to cache for blazing fast loadspeed.
var redis = ...my-redis-instance ; var Hellobot = server;var hellobot = client: redis ; hellobot