Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

eleventy-plugin-xlsx

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eleventy-plugin-xlsx

Uses Xlsx package to convert excel spreadsheets to json data files

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

eleventy-plugin-xlsx

Uses the Xlsx package to convert excel spreadsheets to json data files and saves the output to the eleventy _data directory

Install

$npm install eleventy-plugin-xlsx --save-dev

Usage

The default directory for excel files is /_xlsx. Any excel workbooks saved the /_xlsx directory will be parsed, converted to JSON, and saved to /_data/xlsx. These default directories can be overridden in the options array passed to the plugin.

const parseExcelData = require("eleventy-plugin-xlsx");

// Default paths shown
module.exports = function (eleventyConfig) {
  eleventyConfig.addPlugin(parseExcelData, {
    xlsxPath: "./_xlsx",
    dataPath: "./_data/xlsx"
  });
}

Keywords

eleventy

FAQs

Package last updated on 30 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts