Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
am-xlsx2json
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Aksimaya
am-xlsx2json
Commits
19a71f80
Commit
19a71f80
authored
Nov 12, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
14af61cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
19a71f80
# am-xlsx2json
Converting xlsx file to json files using nodejs (
js-xlsx
)
Converting xlsx file to json files using nodejs (
am-xlsx2json
)
## Install
...
...
@@ -12,7 +12,7 @@ Converting xlsx file to json files using nodejs (js-xlsx)
## Usage
```
javascript
am_xlsx2json
=
require
(
"
am-xlsx2json
"
);
var
am_xlsx2json
=
require
(
"
am-xlsx2json
"
);
am_xlsx2json
({
input
:
"
sample.xlsx
"
,
// path of excel file / uploaded file
output
:
"
output.json
"
// if set it will write to file
...
...
@@ -30,11 +30,11 @@ Converting xlsx file to json files using nodejs (js-xlsx)
You can optionally provide a sheet name to extract from that sheet
```
javascript
am_xlsx2json
=
require
(
"
am-xlsx2json
"
);
var
am_xlsx2json
=
require
(
"
am-xlsx2json
"
);
am_xlsx2json
({
input
:
"
sample.xlsx
"
,
// path of excel file / uploaded file
output
:
"
output.json
"
// if set it will write to file
sheet
:
"
tags
"
sheet
:
[
"
Sheet1
"
,
"
Sheet4
"
]
//array of selected sheet
},
function
(
err
,
result
)
{
if
(
err
)
{
console
.
error
(
err
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment