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.
react bee-anchor component for tinper-bee
基于 gumshoejs 的锚点组件
import Anchor from 'bee-anchor';
import 'bee-anchor/build/Anchor.css';
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
selector | 目标元素选择器 | string | - |
offset | 向上偏移量,例如有固定header,则 offset=()=>return header.getBoundingClientRect().height | ()=>{} | 0 |
navClass | 当前被激活锚点新增的类名 | string | 'active' |
contentClass | 当前被激活区域新增的类名 | string | 'active' |
nested | 是否有嵌套导航 | bool | false |
nestedClass | 嵌套导航激活时父节点的类名 | string | 'active' |
event | 是否添加监听事件 | bool | true |
activeHandle | 被激活的回调,三个参数,以基本示例为例,列表li、锚点a、激活区域p | func | ()=>{}) |
deactiveHandle | 激活后的回调 | func | ()=>{}) |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-anchor
$ cd bee-anchor
$ npm install
$ npm run dev
FAQs
Anchor ui component for react
The npm package bee-anchor receives a total of 17 weekly downloads. As such, bee-anchor popularity was classified as not popular.
We found that bee-anchor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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.
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.