├── .gitignore ├── .gitmodules ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── harb.js └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | misc/coverage.html 3 | misc/prof.js 4 | v8.log 5 | tmp 6 | *.txt 7 | *.csv 8 | *.dbf 9 | *.dif 10 | *.prn 11 | *.slk 12 | *.socialcalc 13 | *.xls 14 | *.xlsb 15 | *.xlsm 16 | *.xlsx 17 | *.xml 18 | *.htm 19 | *.html 20 | *.sheetjs 21 | tests 22 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "test_files"] 2 | path = test_files 3 | url = https://github.com/SheetJS/test_files 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | The SheetJS Libraries should be free and clear to use in your projects. In 4 | order to maintain that, every contributor must be vigilant. 5 | 6 | There have been many projects in the past that have been very lax regarding 7 | licensing, and we are of the opinion that those are ticking timebombs and that 8 | no corporate product should depend on them. 9 | 10 | 11 | # Required Reading 12 | 13 | These are pretty short reads and emphasize the importance of proper licensing: 14 | 15 | - https://github.com/kennethreitz/tablib/issues/114 (discussion of other tools) 16 | 17 | - http://www.codinghorror.com/blog/2007/04/pick-a-license-any-license.html 18 | 19 | 20 | # Pre-Contribution Checklist 21 | 22 | Before thinking about contributing, make sure that: 23 | 24 | - You are not, nor have ever been, an employee of Microsoft Corporation. 25 | 26 | - You have not signed any NDAs or Shared Source Agreements with Microsoft 27 | Corporation or a subsidiary 28 | 29 | - You have not consulted any existing relevant codebase (if you have, please 30 | take note of which codebases were consulted). 31 | 32 | If you cannot attest to each of these items, the best approach is to raise an 33 | issue. If it is a particularly high-priority issue, please drop an email to 34 | and it will be prioritized. 35 | 36 | 37 | # Intra-Contribution 38 | 39 | Keep these in mind as you work: 40 | 41 | - Your contributions are your original work. Take note of any resources you 42 | consult in the process (and be extra careful not to use unlicensed code on 43 | the internet. 44 | 45 | - You are working on your own time. Unless they explicitly grant permission, 46 | your employer may be the ultimate owner of your IP 47 | 48 | 49 | # Post-Contribution 50 | 51 | Before contributions are merged, you will receive an email (at the address 52 | associated with the git commit) and will be asked to confirm the aforementioned 53 | items. 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014-present SheetJS 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | NOTE: this has been merged into [js-xlsx](https://github.com/sheetjs/js-xlsx). 2 | 3 | [xlsx module for npm](http://npm.im/xlsx) 4 | 5 | Issues should be reported to [xlsx](https://github.com/SheetJS/js-xlsx/issues/) 6 | -------------------------------------------------------------------------------- /harb.js: -------------------------------------------------------------------------------- 1 | var HARB = module.exports = require('xlsx'); 2 | HARB.utils.sheet_to_sylk = HARB.utils.sheet_to_slk; 3 | HARB.utils.sheet_to_socialcalc = HARB.utils.sheet_to_eth; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "harb", 3 | "version": "1.0.0", 4 | "author": "sheetjs", 5 | "description": "Plaintext spreadsheet (DIF / CSV / TSV / DBF / SocialCalc) parser", 6 | "keywords": [ "spreadsheet", "csv", "tsv", "dsv", "dif", "dbf", "socialcalc" ], 7 | "main": "./harb", 8 | "dependencies": { 9 | "xlsx":"" 10 | }, 11 | "devDependencies": { 12 | }, 13 | "repository": { "type":"git", "url":"git://github.com/SheetJS/js-xlsx.git" }, 14 | "scripts": { 15 | "pretest": "git submodule init && git submodule update", 16 | "test": "make mocha" 17 | }, 18 | "config": { 19 | "blanket": { 20 | "pattern": "xls.js" 21 | } 22 | }, 23 | "files": ["README.md", "harb.js"], 24 | "homepage": "https://oss.sheetjs.com/js-xlsx/", 25 | "bugs": { "url": "https://github.com/SheetJS/js-xlsx/issues" }, 26 | "license": "Apache-2.0", 27 | "engines": { "node": ">=0.8" } 28 | } 29 | --------------------------------------------------------------------------------