New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/media

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/media

Primitives for media query and device features

  • 1.1.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.2K
decreased by-76.36%
Maintainers
2
Weekly downloads
 
Created
Source

@solid-primitives/media

lerna size size stage

Creates a very simple and straightforward media query monitor.

Installation

npm install @solid-primitives/media
# or
yarn add @solid-primitives/media

How to use it

const isSmall = createMediaQuery("(max-width: 767px)");
console.log(isSmall());

Demo

You may view a working example here: https://codesandbox.io/s/solid-media-query-5bf16?file=/src/index.tsx

Changelog

Expand Changelog

0.0.100

Initial release.

1.0.0

Shipped first stable version.

1.1.7

Published with CJS and SSR support.

1.1.10

Added server entry and updated to latest Solid.

Keywords

FAQs

Package last updated on 06 Jan 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc