Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ungap/import-node

An importNode polyfill for IE11 and other legacy browsers
https://github.com/ungap/import-node

Last synced: 3 months ago
JSON representation

An importNode polyfill for IE11 and other legacy browsers

Awesome Lists containing this project

README

        

# importNode

[![Build Status](https://travis-ci.com/ungap/import-node.svg?branch=master)](https://travis-ci.com/ungap/import-node) [![Coverage Status](https://coveralls.io/repos/github/ungap/import-node/badge.svg?branch=master)](https://coveralls.io/github/ungap/import-node?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/import-node.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)

A document [importNode](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode) polyfill for IE11 and other legacy browsers, with a proper feature detection for deep clones.

* CDN global utility via https://unpkg.com/@ungap/import-node
* ESM via `import importNode from '@ungap/import-node'`
* CJS via `const importNode = require('@ungap/import-node')`

[Live test](https://ungap.github.io/import-node/test/)