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

vuetify-xlsx-csv-parser

v1.0.3

Published

A simple Vuetify based xlsx, xls, csv parser

Readme

vuetify-parser-xlsx-csv

A simple Vuetify based module that extracts data from .csv, .xlsx, .xls files in the form of a JSON. It uses the xlsx module to parse the file. Be sure to check it out.

Installation

npm install vuetify-parser-xlsx-csv

Working

The module ask for a file input, and then asks you to choose your labels for the columns in the file. After that is done, you will receive the results in the form of a JSON. Check the usage section for a detailed example.

Usage

This is a simple example using the module to display a demo .xlsx file.

Data

Here's where the data looks like.

| First Name | Last Name | Email | Phone | |------------|-----------|-------|-------| | John | Doe | [email protected] | 123 456 8790 | | Alan | Shepard | [email protected] | 456 879 1230 | | Carl | Johnson | [email protected] | 789 456 1230 | | Leon | Kennedy | [email protected] | 123 879 4560 |

Code

And here's the code.

<template>
  <v-app>
    <v-main>
      <v-container>
        <h4>File Upload</h4>
        
        <vuetifyXlsxCsvParser
          :columns="columns"
          :hint="help"
          @results="processResults"
        >

        </vuetifyXlsxCsvParser>

        <v-divider></v-divider>
        
        <div v-if="results && results.length">

          <v-simple-table fixed-header height="400px">
            <template v-slot:default>
              <thead>
                <tr>
                  <th class="text-left" v-for="col in columns" :key="col.key">
                    {{col.label}}
                  </th> 
                </tr>
              </thead>
              <tbody>
                <tr v-for="(row, index) in results" :key="index">
                  <td v-for="col in columns" :key="col.key">
                    {{ row[col.key] }}
                  </td>
                </tr>
              </tbody>
            </template>
          </v-simple-table>
        </div>
      </v-container>
    </v-main>
  </v-app>
</template>

<script>
import vuetifyXlsxCsvParser from 'vuetify-xlsx-csv-parser';

export default {
  name: 'App',

  components: {
    vuetifyXlsxCsvParser,
  },

  data: () => {
    return {
      columns: [
        {
          key: 'firstname',
          label: 'First Name',
          patterns: ['first name']
        },
        {
          key: 'lastname',
          label: 'Last Name',
          patterns: ['last name', 'given name', 'family name', 'surname']
        },
        {
          key: 'email',
          label: 'Email',
          patterns: ['email', 'e-mail', 'e mail', 'mail']
        },
        {
          key: 'mobile',
          label: 'Mobile',
          patterns: ['phone', 'mobile', 'telephone', 'contact', 'number', 'cell']
        },
      ],
      results: null,
      help: 'Columns needed are First Name, Last Name, Email, Mobile',
    }
  },
  methods: {
    processResults(results) {
      this.results = results
      console.log(results)
    }
  },
};
</script>

JSON Format

The JSON is stored in results, and each row of the file is a separate element.

[
  {
    "firstname": "John",
    "lastname": "Doe",
    "email": "[email protected]",
    "mobile": "123 456 8790"
  },
  {
    "firstname": "Alan",
    "lastname": "Shepard",
    "email": "[email protected]",
    "mobile": "456 879 1230"
  },
  {
    "firstname": "Carl",
    "lastname": "Johnson",
    "email": "[email protected]",
    "mobile": "789 456 1230"
  },
  {
    "firstname": "Leon",
    "lastname": "Kennedy",
    "email": "[email protected]",
    "mobile": "123 879 4560"
  }
]