node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป



A simple blog library based on YAML Front-Matter Markdown documents.

Expects yfm encoded markdown documents.


  • Post: A class that manages individual blog posts.

  • Blog: A class that holds an array of posts.

Status of build

Build Status


    npm install bitesize

Usage / Sample Application

Create system environmental variables:

    export BITESIZE_GITHUB_ACCESS_TOKEN='token-goes-here'       # create token at
    export BITESIZE_BLOG_GITHUB_REPO='briangershon/hexo-blog'   # the username and repository
    export BITESIZE_BLOG_GITHUB_POST_PATH='source/_posts'       # a path within that repository

Run npm start to run index.js which shows all files in that repository/path

Running unit tests

    npm test