A library of detection tools for JavaScript and TypeScript. Detect browser support, media features, environment etc.

Usage no npm install needed!

<script type="module">
  import baggieDetection from 'https://cdn.skypack.dev/@baggie/detection';


Baggie logo


Detection tools from the little bag-of-tricks.

Tools for detecting media features, browser support, input method etc.

๐Ÿงพ Documentation

Visit bag-of-tricks.github.io for more complete documentation and examples.

๐Ÿš€ Installation

npm install @baggie/detection --save

yarn add @baggie/detection