sort-table-with-binwin
Version:
This is a NPM node application used to sort table.
29 lines (19 loc) ⢠1.3 kB
Markdown
# [NPM]-Sorting-Table-by-[Binwin Viju](https://binwinviju.co.in/ "Visit Binwin Viju website")
- š Hi, Iām @Binwin6724
- š Iām interested in Developing Application
- š± Iām currently learning React JS
- šļø Iām looking to collaborate on API Handling
- š« Reach me by going to this website [Binwin Viju](https://binwinviju.co.in/ "Visit Binwin Viju website").
## Things to look before
In order to get this work there are some requirements that needed to be met.
## Requirements
* Table class name must be : table-sortable ```<table class = "table-sortable">```
* Table heading must be inside thead : ```<thead><tr><th>example header</th></tr></thead>```
## How things works :-
* For a Vide tutorial visit [npm package walkthrough](https://youtu.be/s5cUbiavu24 "Click here to get an idea how things work").
* We need to run [this](https://www.npmjs.com/package/sort-table-with-binwin "sort-table-with-binwin") command to get the package to your project.
```npm i sort-table-with-binwin```
* After running that we need to source package named **sort-table.js** to your project like
```<script src="./node_modules/sort-table-with-binwin/sort-table.js"></script>```
this must be added above **```</body>```**
**Happy Hacking!!**