
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
A Front-end library for creating dynamic html elements on the fly. Its makes it easy to create dynamic elements coupled with data(e.g, data coming from the database).
npm install compify --save
You can also check it out on NPM
var compify = require("compify");
// extract component constructor
var Component = compify.Component;
// creating a paragraph tag on the fly
var paragraph = new Component({
type: "p",
innerText: "Hey Compify",
style: {
"background-color": "#bbb",
"padding": "24px",
"color": "white"
}
})
The Component constructor takes one argument which is an object. For now, the object only takes 3 properties:
Now that we have instantiated the component, the component will be automatically generated; but the element wont be visible in the html file until we append it to an existing element in the html.
paragraph.append(document.body);
The append() method appends the created element to the specified element in the argument PS: this takes only one element
FAQs
A Front-end javascript library for creating dynamic html elements on the fly
The npm package compify receives a total of 1 weekly downloads. As such, compify popularity was classified as not popular.
We found that compify 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
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.