This module (shee2arr
) converts an Excel sheet to a 2D array; that Excel sheet has to be returned from the xlsx
module, which is also used to parse the sheet.
This module is written in JavaScript and requires Node.js to run.
-
Latest packaged version:
npm install shee2arr
-
Latest githubbed version:
npm install https://github.com/Mithgol/shee2arr/tarball/master
The npm package does not contain the tests, they're published on GitHub only.
You may visit https://github.com/Mithgol/shee2arr#readme occasionally to read the latest README
because the package's version is not planned to grow after changes when they happen in README
only. (And npm publish --force
is forbidden nowadays.)
When you require()
the installed module, you get a function that receives an Excel sheet and returns a 2D array of that sheet's rows and columns:
var shee2arr = require('shee2arr');
var array2D = shee2arr(anExcelSheet);
It is necessary to install JSHint for testing.
- You may install JSHint globally (
npm install jshint -g
) or locally (npm install jshint
in the directory of shee2arr).
After that you may run npm test
(in the directory of shee2arr). Only the JS code errors are caught; the code's behaviour is not tested.
MIT license (see the LICENSE
file).