rbarilani / hexo-genstubs

Generate Hexo stub posts for memory and performance tuning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hexo-genstubs

Generate Hexo stub posts for memory and performance tuning.

Installation

git clone https://github.com/leesei/hexo-genstubs
cd hexo-genstubs
npm install

Usage

genstubs.js [options]
genstubs.js -N 1000 -P 10  # Generate 1000 posts, with 10 paragraphs each
genstubs.js -N 1000 -P 10 -t 5 -c 1 # same, with tags and categories
genstubs.js --help         # see help

Posts will be generated in ./source/_posts, copy or symlink to a Hexo site folder and run hexo generate for testing.

Run npm run clean to clean mds in ./source/_posts.

About

Generate Hexo stub posts for memory and performance tuning

License:MIT License


Languages

Language:JavaScript 100.0%