miracle.js

3.0.0 • Public • Published

miracle.js

Miracle.js is a JavaScript package that helps the developer generate some UI components.

To install using npm

npm install miracle.js

What Miracle.js has

  1. getTableFromJson by passing a json object to the function and get a HTML table back
    example:
document.getElementById("ID").innerHTML = getTableFromJson(JOSNObject); 
  1. MakeListFromArray by passing a array object to the function and get a HTML List back
    example:
document.getElementById("ID").innerHTML = MakeListFromArray(array); 
  1. sortList Sort any list by passing list id to the function example:
sortList(ListID); 
  1. sortTable Sort any Html Table by passing Table id to the function example:
sortTable(TableID); 

More comming soon !!!!

Package Sidebar

Install

npm i miracle.js

Weekly Downloads

1

Version

3.0.0

License

ISC

Unpacked Size

6.08 kB

Total Files

5

Last publish

Collaborators

  • mj.herzalla