Socket
Socket
Sign inDemoInstall

child-replace-with-polyfill

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    child-replace-with-polyfill

childNode.replaceWith polyfill for unsupported browsers. More info: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith


Version published
Weekly downloads
2.1K
decreased by-1.7%
Maintainers
1
Install size
4.22 kB
Created
Weekly downloads
 

Readme

Source

child-replace-with-polyfill

Polyfill for

void ChildNode.replaceWith((Node or DOMString)... nodes);

This the npm module version of polyfill found here: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith so that it is easier to integrate to regular projects

Installation

npm install --save child-replace-with-polyfill

Usage

import "child-replace-with-polyfill";

or

require("child-replace-with-polyfill");

Maintainence

I dont think this polyfill would need any more maintainence but feel free to raise a PR if needed

Keywords

FAQs

Last updated on 26 Jan 2019

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc