@flameland/flame
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

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?

  • Easy to Switch

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', {});
});
  • No New Language

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();

Readme

Keywords

Package Sidebar

Install

npm i @flameland/flame

Weekly Downloads

2

Version

0.0.12

License

MIT

Unpacked Size

19.6 kB

Total Files

25

Last publish

Collaborators

  • faztasio