Skip to content

Pglet bindings for Node.js and Deno - easily build interactive web apps in Node.js

License

Notifications You must be signed in to change notification settings

pglet/pglet-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bb1df6d · Jul 14, 2021
Mar 3, 2021
Jul 14, 2021
Jun 8, 2021
Jul 14, 2021
Nov 18, 2020
Feb 20, 2021
Jan 6, 2021
Jul 14, 2021
Jul 14, 2021
Feb 17, 2021
Jul 14, 2021
Jun 10, 2021
Jul 14, 2021
May 12, 2021
Jul 14, 2021
Jul 14, 2021

Repository files navigation

Pglet client for Node.js

Pglet ("pagelet") is a rich user interface (UI) framework for programs written in Node.js or any other language. Pglet renders web UI, so you can easily build web apps with Node.js. Knowledge of HTML/CSS/JavaScript is not required as you build UI with controls. Pglet controls are built with Fluent UI React to ensure your programs look cool and professional.

Hello, world!

const pglet = require("pglet");

(async () => {
    let p = await pglet.page();
    await p.add(new pglet.Text({value: "Hello, world!"}));
})();

Run the sample above with node and in a new browser window you'll get:

Sample app in a browser

Read JavaScript tutorial for further information and more examples.

About

Pglet bindings for Node.js and Deno - easily build interactive web apps in Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published