New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pglet

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pglet

Pglet client for Node.js - easily build interactive web apps in Node.js

latest
Source
npmnpm
Version
0.4.7
Version published
Maintainers
1
Created
Source

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.

Keywords

web

FAQs

Package last updated on 14 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts