MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / isNodeProcess

Function isNodeProcess

modules/code-generator/src/publisher/zip/utils.ts:5–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import type { ZipBuffer } from './index';
4
5export const isNodeProcess = (): boolean => {
6 return (
7 typeof process === 'object' &&
8 typeof process.versions === 'object' &&
9 typeof process.versions.node !== 'undefined'
10 );
11};
12
13export const writeZipToDisk = (
14 zipFolderPath: string,

Callers 3

publishFunction · 0.90
writeZipToDiskFunction · 0.85
generateProjectZipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…