From 78a22d3d1341bbef414e9385a8b1355dc962d647 Mon Sep 17 00:00:00 2001 From: SheetJS Date: Wed, 30 Apr 2014 17:24:27 -0700 Subject: [PATCH] pinning jszip to 2.2.0 due to jszip bug jszip 2.2.1 switched underlying zlib engines. The new engine is broken. (h/t @shawnpresser) See: - https://github.com/Stuk/jszip/issues/126 - https://github.com/nodeca/pako/issues/22 --- README.md | 45 +++++++++++++++++++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 33 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d7128fa..e7b6d0e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ISO 29500 Office Open XML specifications, [MS-XLSB], and related documents. ## Installation -In node: +In [node](https://www.npmjs.org/package/xlsx): npm install xlsx @@ -14,7 +14,7 @@ In the browser: -In [bower](http://bower.io/): +In [bower](http://bower.io/search/?q=js-xlsx): bower install js-xlsx @@ -29,7 +29,10 @@ Older versions of this README recommended a more explicit approach: ## Optional Modules -The node version automatically requires modules for additional features. Some of these modules are rather large in size and are only needed in special circumstances, so they do not ship with the core. For browser use, they must be included directly: +The node version automatically requires modules for additional features. Some +of these modules are rather large in size and are only needed in special +circumstances, so they do not ship with the core. For browser use, they must +be included directly: @@ -53,18 +56,22 @@ Simple usage (walks through every cell of every sheet and dumps the values): } }); -The node version installs a binary `xlsx2csv` which can read XLSX/XLSM/XLSB files and output the contents in various formats. The source is available at `xlsx2csv.njs` in the bin directory. +The node version installs a binary `xlsx2csv` which can read XLSX/XLSM/XLSB +files and output the contents in various formats. The source is available at +`xlsx2csv.njs` in the bin directory. See for a browser example. -Note that older versions of IE does not support HTML5 File API, so the base64 mode is provided for testing. On OSX you can get the base64 encoding by running: +Note that older versions of IE does not support HTML5 File API, so the base64 +mode is provided for testing. On OSX you can get the base64 encoding with: - $