UNPKG

molstar

Version:

A comprehensive macromolecular library.

17 lines (16 loc) 632 B
/** * Copyright (c) 2018-2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Adam Midlik <midlik@gmail.com> * @author Russell Parker <russell@benchling.com> * * Implements some browser-only global variables for Node.js environment. * These workarounds will also work in browsers as usual. */ /** Determines whether the current code is running in Node.js */ export declare const RUNNING_IN_NODEJS: boolean; /** Like `File` but works also in Node.js */ export declare const File_: { new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; prototype: File; };