0.0.8 • Published 10 years ago

bitesize v0.0.8

Weekly downloads
3
License
-
Repository
-
Last release
10 years ago

bitesize

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

Expects yfm encoded markdown documents.

Includes:

  • Post: A class that manages individual blog posts.

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

Status of build

Build Status

Installation

    npm install bitesize

Usage / Sample Application

Create system environmental variables:

    export BITESIZE_GITHUB_ACCESS_TOKEN='token-goes-here'       # create token at github.com
    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
0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago