Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bespoke-bullets
Advanced tools
Bullet Lists for Bespoke.js
Style and animate bullet lists and their transitions with some simple CSS rules.
Download the production version or the development version, or use a package manager.
This plugin is shipped in a UMD format, meaning that it is available as a CommonJS/AMD module or browser global.
For example, when using CommonJS modules:
var bespoke = require('bespoke'),
bullets = require('bespoke-bullets');
bespoke.from('article', [
bullets('li, .bullet')
]);
When using browser globals:
bespoke.from('article', [
bespoke.plugins.bullets('li, .bullet')
]);
As you may have noticed, you can provide a custom bullet selector. This allows you to easily configure which elements are treated as bullets.
The following classes are available on your bullet elements, which allow you to style and animate them.
bespoke-bullet | Every bullet element |
bespoke-bullet-active | All active bullets |
bespoke-bullet-inactive | All inactive bullets |
bespoke-bullet-current | The current bullet |
When no selector is provided, the default behaviour is to look for elements with data-bespoke-bullet
attributes, for example:
bespoke.from('article', [
bullets()
]);
<article>
<section>
<h1 data-bespoke-bullet>Slide Title</h1>
<ul>
<li data-bespoke-bullet>Bullet 1</li>
<li data-bespoke-bullet>Bullet 2</li>
<li data-bespoke-bullet>Bullet 3</li>
</ul>
</section>
</article>
$ npm install bespoke-bullets
$ bower install bespoke-bullets
This plugin was built with generator-bespokeplugin.
FAQs
Bullet Lists for Bespoke.js
The npm package bespoke-bullets receives a total of 14 weekly downloads. As such, bespoke-bullets popularity was classified as not popular.
We found that bespoke-bullets 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.