itcast 6e512b8ce6 aaaa il y a 1 an
..
dist 6e512b8ce6 aaaa il y a 1 an
src 6e512b8ce6 aaaa il y a 1 an
LICENSE 6e512b8ce6 aaaa il y a 1 an
README.md 6e512b8ce6 aaaa il y a 1 an
package.json 6e512b8ce6 aaaa il y a 1 an

README.md

isNodeLike

A simple constant to determine if the current environment is Node-like by inspecting the process global for Node-specific properties.

Usage

import { isNodeLike } from "@apollo/utils.isnodelike";

if (isNodeLike) {
  require("fs").readFileSync("foo");
}