Skip to main content

@babel/helper-globals

caution

This library is an internal Babel helper.

A collection of JavaScript globals for Babel internal usage. This library is derived from the globals library.

Usage

browserUpper

Type: string[]: An array of uppercase global names supported by browsers.

import browserUpper from "@babel/helper-globals/browser-upper.json" with { type: "json" }

builtinLower

Type: string[]: An array of lowercase global names defined by the latest ECMAScript spec.

import builtinLower from "@babel/helper-globals/builtin-lower.json" with { type: "json" }

builtinUpper

Type: string[]: An array of uppercase global names defined by the latest ECMAScript spec.

import builtinUpper from "@babel/helper-globals/builtin-upper.json" with { type: "json" }