# excel-loader

> A webpack module to directly load Excel files

Latest version **1.0.1** (published 2019-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install excel-loader
pnpm add excel-loader
yarn add excel-loader
bun add excel-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-10-18 |
| First published | 2017-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alex |
| Maintainers | mclander |
| Keywords | webpack, loader, excel |

## Links

- npm: https://www.npmjs.com/package/excel-loader
- Repository: https://github.com/mclander/excel-loader
- Homepage: https://github.com/mclander/excel-loader#readme
- Issues: https://github.com/mclander/excel-loader/issues
- npm.io page: https://npm.io/package/excel-loader

## Dependencies (1)

- [node-xlsx](https://npm.io/package/node-xlsx.md) ^0.7.4

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-10-18
- 1.0.0 — 2017-03-25

## README

# 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:

``` javascript
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](https://gist.github.com/christopherscott/2782634)


## Credits

* Inspired by [csv-loader](https://github.com/theplatapi/csv-loader) which inspired by [dsv-loader](https://github.com/wbkd/dsv-loader) which inspired by [json-loader](https://github.com/webpack-contrib/json-loader)
* Excel slurping done with [node-xlsx](https://github.com/mgcrea/node-xlsx) over the awesome [xlsx](https://github.com/SheetJS/js-xlsx)!

[npm-url]: https://npmjs.com/package/excel-loader

---
_Source: https://npm.io/package/excel-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
