15270821319 4e5c5d37f9 初步设计数据库,注册登录 10 月之前
..
dist 4e5c5d37f9 初步设计数据库,注册登录 10 月之前
src 4e5c5d37f9 初步设计数据库,注册登录 10 月之前
LICENSE 4e5c5d37f9 初步设计数据库,注册登录 10 月之前
README.md 4e5c5d37f9 初步设计数据库,注册登录 10 月之前
package.json 4e5c5d37f9 初步设计数据库,注册登录 10 月之前

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");
}