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