notitcia
v1.0.2
Published
Convert Regular HTML Article Pages into Google AMP Pages, Facebook Instant Articles or Apple Article Format
Downloads
6
Maintainers
Readme
Notitia
Convert Regular HTML article Pages into AMP Pages, Facebook Instant Artciles or Apple Articles
let ampPage = Notitia(2,contents,1);
let prettyArticle = pretty.prettyPrint(ampPage, {indent_size: 2});
console.log("finish AMP\n",prettyArticle);
//Returns AMP Complient HTML
let ampPage = Notitia(1,contents);
let prettyArticle = pretty.prettyPrint(ampPage, {indent_size: 2});
console.log("finish FB\n",prettyArticle);
//Returns FaceBook Instant Article HTML
Installation
npm install notitia
Information
Testing
Jest is used to run tests on Notitia
npm run test
Dependencies
License
MIT