
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
@frankhoodbs/breakpoints
Advanced tools
A Vue 3 utility that offers a streamlined interface for working with CSS breakpoints, leveraging CSS custom properties (or CSS variables) defined within the :root selector. This utility taps into the css-custom-properties-list dependency to extract the custom properties and provides handy methods to manage media queries within Vue.
To get started, first import and initialize the Breakpoints class:
import { Breakpoints } from '@your-package/vue-breakpoints-utility';
const breakpointsUtility = new Breakpoints(document.documentElement, document.styleSheets);
You can easily get the current active breakpoint:
console.log(breakpointsUtility.currentBreakpoint.value); // e.g. 'md'
The utility offers a range of methods designed to facilitate media query management. Here are some of the most common uses:
if (breakpointsUtility.utilityMethods.mdAndUp.value) {
// Code for medium devices and above
}
if (breakpointsUtility.utilityMethods.lgAndDown.value) {
// Code for large devices and below
}
if (breakpointsUtility.utilityMethods.lgOnly.value) {
// Code exclusive to large devices
}
These utilities harness Vue's reactivity, ensuring your UI or logic adapts in real-time to viewport changes. This should give a comprehensive guide on the utility's usage, including the main methods that were mentioned in the code.
@vueuse/core: Used for harnessing the reactivity of Vue 3.@frankhoodbs/css-custom-properties-list: Employed to extract CSS custom properties.FAQs
Simple utility to handle breakpoints responsiveness
We found that @frankhoodbs/breakpoints demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.