Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

bitesize

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitesize

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

latest
Source
npmnpm
Version
0.0.8
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

blog

FAQs

Package last updated on 11 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts