0.0.7 • Published 8 years ago

joephon-web-utils v0.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Joephon personal web utils

It includes some reuseful components such as mini route, mini virtual DOM etc...

Get started

npm i --save-dev joephon-web-utils

Version: 0.0.6

  • DOM

    • create
    • render
    • repeat
  • Route

    • router
    • handler
  create:  create DOM element, recieve tagName, className and any other properties, tagName default to be a <div></div>
  render:  render the DOM tree, recieve an object tree and a mouted DOM object. mounted DOM object default to document.body
  router:  make up a listener to listen the location's changing
  handler: defined when this happens then execute that etc...

Currently, this package just provide little testing component. I would make it better during the programming life.

Dependencies

None!

But the Route component needs to go with history, which can be installed as below:

npm i --save-dev history

What for?

Just for personal used and play with npm features.

What will be coming in the future?

It might become my tiny web developing utils, which would save my time then make my life easier~ : )

Thanks

Thanks for the holly open source world and this great age of the Internet!

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago