excel-loader

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i excel-loader

Weekly Downloads

78

Version

1.0.1

License

MIT

Unpacked Size

2.96 kB

Total Files

4

Last publish

Collaborators

  • mclander