shimo_json
TypeScript icon, indicating that this package has built-in type declarations

1.0.35 • Public • Published

shimo_json

How to use:

From shimo

cookie='your cooike';
fileId="your document id"
npx shimo_json -c $cookie --fileId $fileId -o test.json

From local file

npx shimo_json -o test.json test.xlsx

Parameters:

-c/--cookie: copy from one of shimo's request.
-i/--fileId: shimo's document id: https://shimo.im/sheets/<docment id>/MODOC
-n/--nameRow: the index of row for name, default:0
-t/--typeRow: the index of row for type, default:1
-d/--dataRow: the index of row for data, default:1
-f/--format: the json format, default:common, which with full key,[{key1:value1,key2:value2},{key1:value1,key2:value2}], otherwise [keys:[key1,key2],values:[[value1,value2],[value1,value2]]]
-o/--out: out path
file:  excel path

Thanks

https://github.com/yangkghjh/shimo2csv

Readme

Keywords

none

Package Sidebar

Install

npm i shimo_json

Weekly Downloads

2

Version

1.0.35

License

ISC

Unpacked Size

45.8 kB

Total Files

32

Last publish

Collaborators

  • terran.tian