1.0.1 • Published 5 years ago

excel-loader v1.0.1

Weekly downloads
56
License
MIT
Repository
github
Last release
5 years ago

Webpack Excel loader

Purpose

This Excel loader magically inject data from excel file to your webpack project.

Installation

Install with npm:

npm install excel-loader

Usage

Add the excel-loader to your webpack configuration:

const config = {
  module: {
    rules: [
      {
        test: /\.xls.?$/,
        loader: 'excel-loader'
      }
    ]
  }

The loader will translate excel files into JSON, exactly as node-xlsx do (just on build).

Tips

For convert Excel Date to JS date you can use this gist by Cristopher Scott

Credits

1.0.1

5 years ago

1.0.0

7 years ago