Socket
Socket
Sign inDemoInstall

@polkadot/x-global

Package Overview
Dependencies
1
Maintainers
2
Versions
626
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @polkadot/x-global

A cross-environment global replacement


Version published
Weekly downloads
157K
decreased by-12.2%
Maintainers
2
Install size
99.0 kB
Created
Weekly downloads
 

Changelog

Source

12.2.2 Jun 4, 2023

Changes:

  • Apply missing count assignment for for (...) loops
  • Remove unused @types/* dev dependencies
  • Upgrade dependencies to latest stable versions

Readme

Source

@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

Last updated on 04 Jun 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc