huent

1.0.1 • Public • Published

huent

Travis

A simple library for accessing (subset of) HTMLElement properties in a fluent fashion.

Sample usage:


  const h = require('huent')
  h("p")
    .classes("tesing")
    .innerHtml("currently testing Huent lib")
    .insertToElementBeginning(h("body"));
  
  h
    .find("#uniqId")
    .onclick(()=>console.log("element with #uniqId was clicked"));

Readme

Keywords

none

Package Sidebar

Install

npm i huent

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

8.02 kB

Total Files

5

Last publish

Collaborators

  • dmonizer