1.1.0 • Published 4 years ago
json-website-builder v1.1.0
JSON Website Builder
JSON Website Builder is a library to build websites with only JSON.
Usage
First, you need to create a JSON file (its name doesn't matter). The content of the file will be the following:
[
  [
    "tag",
    {
      "attr": "value"
    },
    "children"
  ]
]tag: a HTML tagattrs: an object, where the key is the attr, and the value is the attr valuechildren: can be a string with whatever you want, or this object
You can see an example here.