Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Airkit2 is a collection of JavaScript and SASS components designed to make life easier for the modern frontend developer.
Airkit2 is a collection of JavaScript and SASS components designed to make life easier for the modern frontend developer.
Airkit2's components are written in vanilla JavaScript (no third-party deps), aiming to be lightweight and performant. Components will decoroate elements as they enter the DOM, and similarly dispose themselves when they are removed.
npm install airkit2
import {Registry} from 'airkit2';
import {LazyImageComponent} from 'airkit2/lazyimage';
// Create a new component registry, which handles decoration of elements as
// they enter and leave the DOM.
const app = new Registry();
// Set options for a component. Each component can have its own set of
// configurable options.
const lazyimageOptions = {
inviewClass: 'lazyimage--visible',
loadedClass: 'lazyimage--loaded',
};
// Register the component and bind it to a specific CSS class. When an element
// enters the DOM with that class, the component will be initialized on that
// element.
app.register('lazyimage', LazyImageComponent, lazyimageOptions);
// Start the airkit2 app.
document.addEventListener('DOMContentLoaded', () => {
app.run();
});
# Install deps
npm install
# Start the dev server at localhost:3000
npm run dev
FAQs
Airkit2 is a collection of JavaScript and SASS components designed to make life easier for the modern frontend developer.
We found that airkit2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.