supports-avif
Detect support for AVIF images in the browser
Detect support for AVIF images in the browser
A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood. Forked from maciekgrzybek to support Svelte 5 after no merge of fixes.
A swipe detector in TypeScript
A simple hook for detecting the color scheme a users browser is in
Check if a JavaScript environment has a DOM
auto detect Vue translation keys, with auto translate
检测设备类型,根据设备类型渲染内容
Adblock detector
Zero dependencies image size checker.
CommonJS version of is-stream 3.0.0. See https://github.com/mifi/commonify
Detect structural similarities in your code
Detect Node.JS (as opposite to browser environment) (reliable)
A front-end library for managing touch screen events on mobile devices.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Check if a directory is empty
Detect mobile device for nextjs app server component
Check if a Buffer/Uint8Array is a APNG (Animated PNG) image
Check if a file path is a binary file
Check if the process is running in a Continuous Integration (CI) environment
Check if this package was installed globally by NPM or Volta