Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@marco_ciaramella/wbootstrap
Advanced tools
Readme
wboostrap is a minimal wrapper for DOM based on Bootstrap 5 and Google Material.
npm i @marco_ciaramella/wbootstrap
Create an html page like this
<!DOCTYPE html>
<html>
<head>
<!-- import Material Icon -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
</head>
<body></body>
<script src="index.js"></script>
</html>
Add your js code in index.js.
First of all you need a body element
const body = new Body();
then you can append child to this body. For example
body.appendChild(new FlexColumnFull(3));
Each HTML element defined in this module is a subclass of Element. If you want to add a custom element or a new one you should extend Element class or one of his subclasses.
See public documentation for all supported HTML elements styled with bootstrap 5. Further samples will follow as soon as possible.
FAQs
wrapper for DOM
The npm package @marco_ciaramella/wbootstrap receives a total of 0 weekly downloads. As such, @marco_ciaramella/wbootstrap popularity was classified as not popular.
We found that @marco_ciaramella/wbootstrap 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.