@shaai/shaai
v0.1.1
Published
A blog renderer
Downloads
3
Readme
Shaai
Getting started
npm i --save @shaaijs/shaai
const shaai = require('@shaaijs/shaai');
const shaaiConfig = require('./shaai.config.js');
let Shaai = new Shaai(shaaiConfig);
Shaai.load();
Shaai.subscribe(dom => {
console.log('dom',dom);
})
Sample config
{
"source": {
"name": "medium",
"config": {
"proxy": "",
"username": "kunalpanchal"
}
},
"root": "shaai_root",
"postPreviewSize": 100,
"blogHeader": {
"title": "Kay's blog"
},
"globalHeader": true,
"globalNav": true
}