
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
svelte-browser
Advanced tools
```html <script lang="ts"> import store, { KeyCapture, Browser, Viewport } from 'svelte-browser' import { isPC, isTablet, isMobile, isBlink, isMacSafari, isIOSlegacy, isLegacy } from 'svelte-browser' const { isActive, isOnline, isWatching, isKeypad, is
<script lang="ts">
import store, { KeyCapture, Browser, Viewport } from 'svelte-browser'
import { isPC, isTablet, isMobile, isBlink, isMacSafari, isIOSlegacy, isLegacy } from 'svelte-browser'
const { isActive, isOnline, isWatching, isKeypad, isPortrait, isLandscape, isZoom, keys, zoomScale, zoomPoint, viewPoint, safePoint, keypadSize, zoomSize, viewSize, safeSize } = store
if (isTablet) ... // device type Tablet
if (isMobile) ... // device type Mobile
if (isPC) ... // not Tablet / Mobile / Android / IOS
if (isBlink) ... // blink browser
if (isMacSafari) ... // webkit browser && Mac OS
if (isIOSlegacy) ... // IOS && legacy
if (isLegacy) ... // not support VisualViewport / ResizeObaserver / IntersectionObserver
$: if ($isActive) ... // isOnline && isWatching
$: if ($isOnline) ... // detect online
$: if ($isWatching) ... // visible visibilityState
$: if ($isKeypad) ... // soft keypad detect
$: if ($isPortrait) ... // width < height
$: if ($isLandscape) ... // height < width
$: if ($isZoom) ... // 1.0 < zoomScale
$: if ($zoomScale < 3.0) ...
$: $keys[0] // keydown first key
$: [zoom_left, zoom_top] = $zoomPoint
$: [view_left, view_top] = $viewPoint
$: [safe_left, safe_top] = $safePoint
$: [zoom_width, zoom_height] = $zoomSize
$: [view_width, view_height] = $viewSize
$: [safe_width, safe_height] = $safeSize
$: [keypad_width, keypad_height] = $keypadSize
</script>
<Browser ratio="{1.0}" isDefaultSafeArea="{true}" />
<Viewport min="{1.0}" max="{3.0}" />
<KeyCapture disabled="{false}"></KeyCapture>
FAQs
```html <script lang="ts"> import store, { KeyCapture, Browser, Viewport } from 'svelte-browser' import { isPC, isTablet, isMobile, isBlink, isMacSafari, isIOSlegacy, isLegacy } from 'svelte-browser' const { isActive, isOnline, isWatching, isKeypad, is
The npm package svelte-browser receives a total of 77 weekly downloads. As such, svelte-browser popularity was classified as not popular.
We found that svelte-browser 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.