Static site generation through file tree transformation
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
models
postprocessors
preprocessors
test
writers
.gitignore
LICENSE
README.md
dirTree.js
package.json
renderTree.js

README.md

jstatico

creates a json tree from a directory, applies the built-in filters and puts the output in the destination directory.

npm install jstatico

and then

jstatico /path/to/inputDirectory /path/to/outputDirectory

to run tests

npm test

That's it!

I use this to generate egeozcan.com

An example site is included. See the folder named "test".

TODO

  • Add support for custom processors and preprocessors
  • Add documentation for custom generators (example available in test/src/blog)

License: MIT