|
il y a 4 mois | |
---|---|---|
.. | ||
dist | il y a 4 mois | |
src | il y a 4 mois | |
LICENSE | il y a 4 mois | |
README.md | il y a 4 mois | |
package.json | il y a 4 mois |
A simple constant to determine if the current environment is Node-like by
inspecting the process
global for Node-specific properties.
import { isNodeLike } from "@apollo/utils.isnodelike";
if (isNodeLike) {
require("fs").readFileSync("foo");
}