import {
IS_BROWSER,
IS_DENO,
IS_ELECTRON,
IS_NODE,
IS_SERVER,
} from "is-platform";
IS_NODE; // node => true, deno => false
IS_DENO; // deno => true, node => false
IS_BROWSER; // browser => true
IS_SERVER; // server, e.g. deno or node => true
IS_ELECTRON; // electron => true
so1ve/is-platform
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published