sizzlify

1.0.2 • Public • Published

sizzlify

A mini hack to embed Sizzle in nodejs, under the MIT licence

Install

npm install sizzlify

Usage

var
sizzlify,
xmldom,
document;

sizzlify = require('sizzlify');
xmldom = require('xmldom');

document = xmldom.parseFromString(`<!DOCTYPE html><html><body></body></html>`);

sizzlify('html > body', document);

Readme

Keywords

Package Sidebar

Install

npm i sizzlify

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lcf.vs