Files
Home_Buying_App/node_modules/@apollo/utils.isnodelike/README.md
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

15 lines
284 B
Markdown

# isNodeLike
A simple constant to determine if the current environment is Node-like by
inspecting the `process` global for Node-specific properties.
## Usage
```ts
import { isNodeLike } from "@apollo/utils.isnodelike";
if (isNodeLike) {
require("fs").readFileSync("foo");
}
```