New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@polkadot/x-global

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-global

A cross-environment global replacement

6.5.2-2
Version published
Weekly downloads
161K
-4.36%
Maintainers
2
Weekly downloads
 
Created

@polkadot/x-global

A cross-environment global object. checks for global > self > window > this.

Install it via yarn add @polkadot/x-global

import { xglobal } from '@polkadot/x-global';

console.log(typeof xglobal.TextEncoder);

FAQs

Package last updated on 27 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts