json2html-cli
Converts a bunch of json files into a directory structured by category/year/month/day/name of html files
Last updated 5 years ago by vzaccaria .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install json2html-cli 
SYNC missed versions from official npm registry.

json2html-cli

Converts a bunch of json files into a directory structured by category/year/month/day/name of html files

Usage

Usage:
    blog-cli md2json [ input | directory DIR -d DEST ] -t TEMPLATE -c CONFIG 
    blog-cli json2html [ directory -d DEST ] DIR  
    blog-cli json2json [-k CATEGORY] [ -t TEMPLATE -c CONFIG ] DIR  
    blog-cli renderjson -f JSON -t TEMPLATE -c CONFIG 
    blog-cli -v | -h | --help 

Options: 
    -t, --template TEMPLATE   Jade template that expands the `post.contents` 
    -c, --config CONFIG       JSON configuration file of the site (has a `baseUrl` property)
    -d, --destination DEST    Destination directory
    -k, --filter CATEGORY     Filter by category
    -f, --file JSON           Render JSON inside the template

Arguments: 
    DIR         Source directory

Authors

  • Vittorio Zaccaria

License

BSD


Current Tags

  • 0.0.8                                ...           latest (5 years ago)

7 Versions

  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (20)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |