npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vuikit-datatable

v1.2.6

Published

A DataTable Component that runs off uikit and vuikit

Downloads

41

Readme

VuiKit DataTable plugin

Build Status

VuiKit DataTable plugin adds loads of custom functionality to uikit datatables

  • Search & filtering
  • Row actions with custom icons and handlers

New Features!

  • string array field
  • number and textinput fields available
  • Ability to add multiple items to filters for single row
  • added loader for loads of data being processed
  • added default sorting option for table
  • Ability to multi select rows
  • Ability to make columns smaller
  • Improved styling of actions column
  • Added Select all button

Installation

Install via npm

$ npm i vuikit-datatable
import VuiKitDatatable from 'vuikit-datatable'
Vue.component('vk-datatable', VuiKitDatatable)

-- or --

import VuiKitDatatable from 'vuikit-datatable'
Vue.use(VuiKitDatatable)

or download and refrence the vuikit-datatables.min.js file in your html

Whats required to use this module:

Usage

<vk-datatable
    :columns="columns"
    :rows="data"
    :per_page="5"
    :actions="actions"
    v-on:row_click="rowClick"
    v-on:row_delete="rowDelete"
    v-on:row_edit="rowEdit"
    defaultSort="" // the default column to sort by
    loadingPropData="" // boolean to show table loader
    selectableRows="" // multiple rows can be selected
    v-on:rowsSelected="" // callback for when a row is selected
    >
</vk-datatable>
var App = new Vue({
    el: '#app',
    data: function(){
        return {
            // the columns and settings for each
            columns: [
                {
                  title: '', // The title of the column
                  field: '', // the field name in the data array\
                  hidden: true|false , // hide this field
                  search: true|false,  // is field searchable
                  filter: true|false , // is filtererable
                  sortable: true|false,  // field is sortable
                  type: '', // field type, see bellow for options
                  prefix:'', // text before the value in the cell
                  suffix: '' // text after the value in the cell
                  inputsettings: {} // takes values used for number and text input fields,
                  onchange: function (row) {}, // callback for input field value changes
                  smallField: true|false // if true will add uk-table-shrink to the column
                },
            ],
            // the data
            data: [],
            // define actions for row
            actions: [
                {title: 'Edit Post', event: 'edit', icon: 'pencil'}, // creates an row_edit event
                {title: 'Delete Post', event: 'delete', icon: 'trash'}, // creates an row_delete event
            ],
        }
    },
    methods: {
        // handler for RowClick Event
        rowClick: function(row){
        },

        // handler for custom row_delete event
        rowDelete: function(item){

        },

        // handler for custom row_edit event
        rowEdit: function(item){

        }
    }
})

Available types are

| VALUE | Description | | ------ | ------ | | '' | Text only field | | 'array_implode' | Imploded array of values comma seperated | | 'date_diff' | uses moment differece for humans to return the difference between the given data and today | | 'number' | numeric field used for sorting | | 'boolean' | Turns a true or false value into a yes or no | | 'image_url' | Shows a 30x30px thumbnail | | 'string_array' | Outputs an array of strings with each value on a new line | | 'textinput' | Shows a text input and calls a callback on value change. available settings (placeholder) | | 'numberinput' | Shows a numer input and calls a callback on value change. available settings (placeholder, min, max) |

Todos

  • Full documentation page
  • Export CSV option
  • Setup changelog
  • Setup contributing data
  • Ability to use multiple calls for data pagination
  • Hide search if no items are searchable

License

MIT