buijs-core v0.0.1-beta.2
Bui.js ・
Bui is a Javascript library that allows you to use Html in Javascript without leaving your comfort.
Simple: You don't need to learn anything extra when working with Bui.js. Just basic Javascript and Html knowledge.
Fast: It does not contain any code other than the codes used to create Bui.js elements. (It has a size of 11 kb because it contains all Html elements 😢)
Adaptive: Bui.js works with almost all Javascript and Html libraries. Even if it does not work, it can be made working with a few changes.
Installation
Bui.js is designed for every runtime environment. You can start by using your favorite runtime.
Cdn
Add this code somewhere in your html file:
<script type="module" src="https://buijs.vercel.app/bui.js"></script>
Npm
Just install it with npm:
npm install buijs-core
Bun
Just install it like npm:
bun install buijs-core
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bui.js Demo</title>
</head>
<body>
<script type="module" src="https://buijs.vercel.app/bui.js"></script>
<script>
p('Hello World from Bui.js!', {
style: 'background-color: blue; color: white;'
})
</script>
</body>
</html>
Contributing
We welcome all contributions from all kinds of people and are grateful to those who contribute. However, we have a few rules to ensure that contributions are appropriate. Please visit CONTRIBUTING.md.