no-elements-for-you

0.0.0 • Public • Published

no elements for you

Instrument code and throw if it ever touches an Element

Use

var nope = require('no-elements-for-you');

var niceTry = nope(function () {
  return document.getElementsByTagName('body');
});

niceTry();
// -> throws

License

MIT

Package Sidebar

Install

npm i no-elements-for-you

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • btford