
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@vexip-ui/bem-helper
Advanced tools
Help you quickly get various BEM names and values.
pnpm i @vexip-ui/bem-helper
Without namespace:
import { useBEM } from '@vexip-ui/bem-helper'
const bem = useBEM('button')
bem.b() // button
bem.be('icon') // button__icon
bem.bm('active') // button--active
bem.bem('icon', 'active') // button__icon--active
bem.cb() // .button
bem.cv('color') // --button-color
With namespace:
import { useBEM } from '@vexip-ui/bem-helper'
const bem = useBEM('button', 'vxp')
bem.b() // vxp-button
bem.be('icon') // vxp-button__icon
bem.bm('active') // vxp-button--active
bem.bem('icon', 'active') // vxp-button__icon--active
bem.cb() // .vxp-button
bem.cv('color') // --vxp-button-color
You can view the definition of types. There are detailed comments in this file.
All in MIT license.
1.1.0 (2021-07-08)
FAQs
Help you quickly get various BEM names and values.
The npm package @vexip-ui/bem-helper receives a total of 1,188 weekly downloads. As such, @vexip-ui/bem-helper popularity was classified as popular.
We found that @vexip-ui/bem-helper 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.