Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browser-node-dgram

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-node-dgram

A fork of browser shim for node's dgram.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-17.65%
Maintainers
1
Weekly downloads
 
Created
Source

browser-shim-node-dgram

A browser shim for Node's dgram.

Usage

In ES5:

var dgram = require("browser-node-dgram");

In ES6:

import dgram from "browser-node-dgram";

Support

In Chrome, a manifest entry is required for any socket-related functions to work.

createSocket

Supported on all platforms.

Note that these parameters are ignored in Chrome: options.type or type, options.reuseAddr.

Socket#addMembership

Supported on Chrome >= 33.

Socket#address

Supported on all platforms that support Socket#bind.

Socket#bind

Supported on Chrome >= 33. Note that the options.exclusive parameter is ignored if supplied.

Socket#close

Supported on Chrome >= 33.

Socket#dropMembership

Supported on Chrome >= 33.

Socket#send

Supported on Chrome >= 33.

Socket#setBroadcast

Supported on Chrome >= 44.

Socket#setMulticastLoopback

Supported on Chrome >= 33.

Socket#setMulticastTTL

Supported on Chrome >= 33.

Socket#setTTL

Not supported on any platforms.

Socket#ref

Not supported on any platforms.

Socket#unref

Not supported on any platforms.

Keywords

FAQs

Package last updated on 04 May 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc