1.2.1 • Published 5 years ago
@prepsmith/material-xlsx-transformer v1.2.1
@prepsmith/material-xlsx-transform
Transform the Exam Material Data JSON to SmithSupply format XLSX file.
Install dependencies
$ yarn install
Run demo
$ yarn demo
Dump material data from db
example:
# ssh forward postgres server port to local host
$ ssh -NL 127.0.0.1:5432:10.23.49.163:5432 ubuntu@120.132.6.226 -vv
# in another terminal session to dump data
$ psql -h 127.0.0.1 -U root -P "footer=off" -P "tuples_only" ems_staging -c "select name, material_data from exams" > material_dump.txt
Generate XLSX files from dump data
example:
$ node batch.js /Users/michael/material_dump.txt
1.2.1
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago