Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 994 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 994 Bytes

Transform repo to article

Environment variables

MONGODB_HOST=localhost
MONGODB_PORT=27017
MONGODB_NAME=fm
COLLECTION_NAME=article
ARTICLE_SERVICE=article.frontender.info
PROTOCOL=http://
ORG_NAME=FrontenderMagazine
GITHUB_TOKEN=

Documentation

Table of Contents

ArticleBuilder

Transform repo to html article

Parameters

  • reponame string repository name
  • path string path where article will be created

Examples

(async function(){
   await builder(
     'the-art-of-html-semantics-pt1',
     '../websites/articles/'
   );
 })();