document.head

0.1.0 • Public • Published

document.head shim for CommonJS

This takes Mathias Bynens's document.head polyfill and puts it in CommonJS.

var head = require('document.head');
head.appendChild(/* ... */);

You can also use this to add document.head support:

document.head = require('document.head');

Package Sidebar

Install

npm i document.head

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • evanhahn