child-replace-with-polyfill

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i child-replace-with-polyfill

Weekly Downloads

2,243

Version

1.0.1

License

MIT

Unpacked Size

3.38 kB

Total Files

4

Last publish

Collaborators

  • atulanand94