
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
tailwind-bootstrap-grid
Advanced tools
Bootstrap v4 flexbox grid system as a tailwindcss plugin.
npm i -D tailwind-bootstrap-grid
In tailwind.js
file:
module.exports = {
plugins: [require('tailwind-bootstrap-grid')()],
};
And don't forget to include components
and utilities
in your tailwind base
css file:
@tailwind preflight;
@tailwind components;
@tailwind utilities;
This will generate Boostrap v4 flexbox grid.
gridColumns
(default - 12
) - grid sizegridGutterWidth
(default - "30px"
) - gutter widthgenerateContainer
(default - true
) - whether to generate .container
and
.container-fluid
classesgenerateNoGutters
(default - true
) - whether to generate .no-gutter
classFor example to generate 10 column grid with no gutter and skip the container:
module.exports = {
plugins: [
require('tailwind-bootstrap-grid')({
gridColumns: 10,
gridGutterWidth: 0,
generateNoGutters: false,
generateContainer: false,
}),
],
};
MIT
FAQs
Tailwind CSS plugin to generate Bootstrap flexbox grid system.
The npm package tailwind-bootstrap-grid receives a total of 4,485 weekly downloads. As such, tailwind-bootstrap-grid popularity was classified as popular.
We found that tailwind-bootstrap-grid 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.