Typed version of can-use-dom to check if you can use the DOM
If I should maintain this repo, please
DM me on Twitter if you have questions or suggestions.
Installation
yarn add @bconnorwhite/can-use-dom
npm install @bconnorwhite/can-use-dom
pnpm add @bconnorwhite/can-use-dom
API
import canUseDOM from "@bconnorwhite/can-use-dom";
console.log(canUseDOM); // boolean
Dev Dependencies
- autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.