Skip to content
/ funa Public

JavaScript data binding library that allows you to create web apps with ease.

License

Notifications You must be signed in to change notification settings

m-phuc/funa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funa

Funa is a JavaScript data binding library that allows you to create web apps with ease.

By extending HTML declarative syntax with interpolations and binding expressions, it seamlessly connects UI to underlying logical code, eliminating the need for complex DOM manipulation.

Installation

Funa is a zero-dependency library.

Get the latest release here, then import it as a module:

import { Funa } from './funa.js';

For TypeScript support, store the funa.d.ts file alongside the funa.js file.

Quick Start

Here is a basic example to give you a glance at:

<!DOCTYPE html>
<html>
<head>
	<script src="demo.js" type="module"></script>
</head>
<body>
<template>
	<p>Hello {name}.</p>
</template>
</body>
</html>
import { Funa } from './funa.js';

const app = new Funa({
	data: {
		name: 'world'
	}
});

app.render();

Documentation

Documentation

License

MIT License

About

JavaScript data binding library that allows you to create web apps with ease.

Topics

Resources

License

Stars

Watchers

Forks