
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.
Lean Browser Library for typical DOM operations tested to run in IE8 up to modern browsers. This will be used to further create DOM UI libraries for browsers in the future.
This library is packaged by npm, so it can be installed by running code below.
npm install libdom --save
libdom can be required directly within webpack or browserify.
var libdom = require("libdom");
libdom.on(global.document,
"load",
function (event) {
console.log('okay, got it! ', event.target);
});
With es6 import enabled using babel, you can also import libdom module.
// default
import libdom from "libdom";
// tree shaking
import { on, addClass } from "libdom";
libdom can embedded in HTML <script> tag.
This requires preloading of libcore module.
<!doctype >
<html>
<head>
<title>Test Libdom</title>
</head>
<body>
<script src="node_modules/libcore/dist/libcore.min.js" type="text/javascript" charset="utf-8"></script>
<script src="node_modules/libdom/dist/libdom.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
console.log("libdom object: ", libdom);
</script>
</body>
</html>
Non-minified version of libdom is located in node_modules/libdom/dist/libdom.js.
Please refer to API Documentation for more information on Browser DOM helpers.
This Project is fully Open Source MIT licensed.
FAQs
Lean Browser Library for typical DOM operations
The npm package libdom receives a total of 5,238 weekly downloads. As such, libdom popularity was classified as popular.
We found that libdom demonstrated a not healthy version release cadence and project activity because the last version was released 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.