The plugin converts workbook files into objects containing entries for each sheet. Each array contains objects with keys corresponding to the columns of the first row of the sheet.
Installation:
npm install gridsome-transformer-spreadsheet
Add the plugin to yourgridsome.config.js
:
module.exports = {
plugins: [
{
use: 'gridsome-transformer-spreadsheet',
},
// ...
],
};
Run npm test
to run the tests.
After the tests pass, run npm publish
to build and publish the package.