Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / test / test-79-npm / xlsx / xlsx.js
293 bytesRaw
1 | ; |
2 | |
3 | var path = require('path'); |
4 | var xlsx = require('xlsx'); |
5 | |
6 | var xls = xlsx.readFileSync(path.join(__dirname, 'registry.xls')); |
7 | var ods = xlsx.readFileSync(path.join(__dirname, 'ffc.ods')); |
8 | |
9 | if ((xls.Strings.length > 50) && |
10 | (ods.SheetNames.length > 0)) { |
11 | console.log('ok'); |
12 | } |
13 |
Built with git-ssb-web