1.0.0 • Published 9 months ago

superjs-datatable v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

superjs-datatable

It is an open source library developed for quickly integrating Datatable classes into nodejs ( other html ) projects.

Installation

Install superjs-datatable with npm

npm install superjs-datatable

Usage/Examples

For *.ejs files

<div class="table-responsive mb-5">
    <table id="table1" name="table1" class="table table-bordered table-hover table-striped">
        <thead>
            <tr>
                <th>ID</th>
                <th>NAME</th>
                <th>ISAUTH</th>
            </tr>
        </thead>
        <tbody>
            <% data.forEach(element => { %>
                <tr>
                    <td><%= element.ID %></td>
                    <td><%= element.NAME %></td>
                    <td><%= element.ISAUTH %></td>
                </tr>
            
            <% }); %>
            
        </tbody>

    </table>
</div>
<%- include('node_modules/superjs-datatable/superjs-datatable.ejs') %>

License

Authors

  • Abdullah YILMAZ -> abdullahyilmaz.turkiye@gmail.com
  • superjs-*
  • © 2023
1.0.0

9 months ago