Flame
An extensible web component framework for the back end.
npm i --save @flameland/flame
NOTE This project is currently still in development, so you may encounter some issues with it. If you do, please report it as soon as possible. Thank you :)
Why Flame?
If you're already using ExpressJS, it's easy to get started with Flame with Flame's Express middleware:
const express = require('express');
const { FlameMiddleware } = require('@flameland/flame');
const app = express();
app.engine('flame', FlameMiddleware);
app.set('view engine', 'flame');
app.get('/', (req, res) => {
res.render('view.flame', {});
});
Flame views are just plain Node.js JavaScript, meaning you don't have to learn any new syntax to make an awesome web application:
class MyPage extends Flame.Component {
render() {
return `Hello, world!`;
}
}
module.exports = new MyPage();