1.0.3 • Published 3 years ago

@futurelucas4502/light-electron-renderer v1.0.3

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

light-electron-renderer

A lightweight template view renderer for electron

The goal of this project is to create a fully functional view renderer similair to that of express that can support: ejs, pug, haml, squirrelly and many other templating libraries

The idea here is that you use this and parse the require('some-templating-language') into this as well as the name of the render function e.g. if it was ejs it would be renderFile hopefully that makes sense if not take a look at the examples in the examples folder

You wil be able to install it using:

npm i @futurelucas4502/light-electron-renderer

Note: You MUST npm install whatever templating language your using

Examples image

Docs

Documentation

Confirmed working with:

  • Windows 10 x64 & ejs
  • Windows 10 x64 & haml
  • Windows 10 x64 & pug
  • Windows 10 x64 & squirrelly
  • Windows 10 x64 & eta
  • Windows 10 x64 & handlebars

Libraries that can work with this but still have problems:

  • Twig (see here for more info)

Libraries that will have support added in the future:

https://github.com/futurelucas4502/light-electron-renderer/projects/2

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago