Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shimondoodkin/node_spreadsheet
Convert xls,xlsx,ods,csv spreadsheets to JSON/CSV using command line php, built as a solution to import excel files to node js
https://github.com/shimondoodkin/node_spreadsheet
Last synced: about 1 month ago
JSON representation
Convert xls,xlsx,ods,csv spreadsheets to JSON/CSV using command line php, built as a solution to import excel files to node js
- Host: GitHub
- URL: https://github.com/shimondoodkin/node_spreadsheet
- Owner: shimondoodkin
- Created: 2010-10-10T12:47:31.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-22T17:52:41.000Z (over 12 years ago)
- Last Synced: 2024-10-19T22:59:57.381Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 6.48 MB
- Stars: 35
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#node spreadsheet
this is a solution to read excel files in node js
based on PHPExcel from phpexcel.codeplex.com
php based is better then nothing#example
var spreadsheet=require('node_spreadsheet')
spreadsheet.read(__dirname+"/Book1.xls",function(obj){console.log(obj);});
output:
[ [ 'phonecol', 'ansicol', 'utfcol', 'numcol', 'datecol' ]
, [ '0547412345'
, 'asfasd'
, '\u05d2\u05d3\u05db\u05e9\u05d3\u05d2\u05e9\u05d3\u05d2'
, 12312
, Sun, 10 Oct 2010 10:55:00 GMT
]
]#requirements:
this piece of software is based on php5-cli so you need to install it first.
like :sudo aptitude install php5-cli