Coder Social home page Coder Social logo

adapt2html's Introduction

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>.*

adapt2html's People

Contributors

tomgreenfield avatar

Stargazers

Marc Newport avatar

Watchers

James Cloos avatar  avatar Matt Leathes avatar Ignacio Cinalli avatar stuartohare avatar Dan Gray avatar Stuart avatar Anuj Gautam avatar  avatar Dan Ghost avatar Joseph Replin avatar Oliver Foster avatar  avatar james rea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.