0.2.2 • Published 7 years ago

adapt2html v0.2.2

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
7 years ago

adapt2html

Convert Adapt JSON to HTML.

Installation

Note: requires Node.js to be installed.

From the command line, run:

npm install -g adapt2html

Usage

Command

  • Run this command inside a directory containing JSON files:
adapt2html
  • HTML files will be created in an adapt2html subdirectory.
  • Each HTML file may be opened in Word with headings formatted appropriately.

Rules

  • A JSON name/value pair will be included in the HTML if meets the following criteria:
  • Name doesn’t start with an underscore _
  • Value isn’t an empty string ""
  • Objects are checked recursively by default for accepted name/value pairs.
  • exceptions.json contains a blacklist and whitelist for exceptions to these rules.
  • To override the default exceptions.json, simply include a version of this file in your working directory.
  • Objects may be added to the blacklist with the syntax <objectName>.*
0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

9 years ago