
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A JavaScript UI library that allows you to build interactive web applications using Lua scripts. Available as both a library with external dependencies and a fully self-contained bundle.
A JavaScript UI library that allows you to build interactive web applications using Lua scripts. Available as both a library with external dependencies and a fully self-contained bundle.
npm install druid-ui
This installs the library version that requires external dependencies to be installed separately.
For direct browser usage without a build system:
<!-- ES Module (Standalone) -->
<script type="module">
import { DruidUI } from "https://unpkg.com/druid-ui/dist/druid-ui.standalone.esm.js";
// Your code here
</script>
<!-- UMD (Standalone) -->
<script src="https://unpkg.com/druid-ui/dist/druid-ui.standalone.umd.js"></script>
<script>
// DruidUI is available globally
const { DruidUI } = window.DruidUI;
</script>
import { DruidUI } from "druid-ui";
// Dependencies like wasmoon, morphdom, @twind/* need to be installed separately
import { DruidUI } from "druid-ui/standalone";
// Everything is bundled, no external dependencies needed
<!DOCTYPE html>
<html>
<head>
<title>DruidUI Example</title>
</head>
<body>
<druid-ui entrypoint="app.lua" path="/"></druid-ui>
<script type="module">
import { DruidUI } from "druid-ui/standalone";
// DruidUI is automatically registered as a custom element
</script>
</body>
</html>
import { DruidUI } from "druid-ui";
const druidElement = document.createElement("druid-ui");
druidElement.setAttribute("entrypoint", "app.lua");
druidElement.setAttribute("path", "/");
document.body.appendChild(druidElement);
npm run dev
npm run build
This creates both library and standalone versions:
dist/druid-ui.lib.esm.js - ES Moduledist/druid-ui.lib.umd.js - UMD builddist/main.d.ts - TypeScript definitionsdist/druid-ui.standalone.esm.js - ES Module with all dependenciesdist/druid-ui.standalone.umd.js - UMD build with all dependencies# Build only the library version (with external deps)
npm run build:lib
# Build only the standalone version (bundled deps)
npm run build:standalone
FAQs
A JavaScript UI library that allows you to build interactive web applications using Lua scripts. Available as both a library with external dependencies and a fully self-contained bundle.
The npm package druid-ui receives a total of 58 weekly downloads. As such, druid-ui popularity was classified as not popular.
We found that druid-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.