Comparing version 0.5.1 to 0.6.0
@@ -68,3 +68,3 @@ 'use strict'; | ||
}); | ||
var data = XLSX.write(wb, _.defaults(options || {}, defaults)); | ||
var data = XLSX.write(wb, _.defaults(options || {}, defaults)); | ||
if(!data) return false; | ||
@@ -71,0 +71,0 @@ var buffer = new Buffer(data, 'binary'); |
@@ -5,3 +5,3 @@ { | ||
"license": "Apache License, Version 2.0", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "Node.js excel parser & builder", | ||
@@ -21,9 +21,9 @@ "main": "index.js", | ||
"dependencies": { | ||
"lodash.defaults": "^2.4.1", | ||
"lodash.map": "^2.4.1", | ||
"xlsx": "^0.7.10" | ||
"lodash.defaults": "^3.1.2", | ||
"lodash.map": "^3.1.4", | ||
"xlsx": "^0.8.0" | ||
}, | ||
"devDependencies": { | ||
"nodeunit": "^0.9.0" | ||
"nodeunit": "^0.9.1" | ||
} | ||
} |
@@ -1,11 +0,17 @@ | ||
[node-xlsx](http://mgcrea.github.com/node-xlsx) [![Build Status](https://secure.travis-ci.org/mgcrea/node-xlsx.png?branch=master)](http://travis-ci.org/#!/mgcrea/node-xlsx) | ||
================= | ||
# node-xlsx | ||
[![Build Status](http://img.shields.io/travis/mgcrea/node-xlsx/master.svg?style=flat)](http://travis-ci.org/mgcrea/node-xlsx) [![npm](https://img.shields.io/npm/dm/node-xlsx.svg?style=flat)](https://www.npmjs.com/package/node-xlsx) [![Dependency Status](http://img.shields.io/david/mgcrea/node-xlsx.svg?style=flat)](https://david-dm.org/mgcrea/node-xlsx) | ||
Excel parser/builder that relies on [js-xlsx](https://github.com/SheetJS/js-xlsx). | ||
Quick start | ||
----------- | ||
Parsing a xlsx from file/buffer | ||
``` javascript | ||
## Quick start | ||
Install | ||
```bash | ||
npm install excel node-xlsx | ||
``` | ||
Parsing a xlsx from file/buffer, outputs an array of arrays | ||
```js | ||
var xlsx = require('node-xlsx'); | ||
@@ -20,3 +26,3 @@ | ||
Building a plist from an object | ||
``` javascript | ||
```js | ||
var xlsx = require('node-xlsx'); | ||
@@ -29,19 +35,21 @@ | ||
Testing | ||
------- | ||
## Testing | ||
`node-xlsx` is tested with `nodeunit`. | ||
> | ||
npm install --dev | ||
npm test | ||
```bash | ||
npm install --dev | ||
npm test | ||
``` | ||
Contributing | ||
------------ | ||
## Contributing | ||
Please submit all pull requests the against master branch. If your unit test contains javascript patches or features, you should include relevant unit tests. Thanks! | ||
Authors | ||
------- | ||
## Authors | ||
**Olivier Louvignes** | ||
@@ -52,21 +60,23 @@ | ||
Copyright and license | ||
--------------------- | ||
Copyright (C) 2012-2014 Olivier Louvignes | ||
## Copyright and license | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
``` | ||
Copyright (C) 2012-2014 Olivier Louvignes | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Except where noted, this license applies to any and all software programs and associated documentation files created by the Original Author and distributed with the Software: | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
'node-xlsx.js' is a modified version of SheetJS gist examples, Copyright (c) SheetJS. | ||
Except where noted, this license applies to any and all software programs and associated documentation files created by the Original Author and distributed with the Software: | ||
'node-xlsx.js' is a modified version of SheetJS gist examples, Copyright (c) SheetJS. | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22386
79
0
+ Addedcfb@0.11.1(transitive)
+ Addedcodepage@1.15.0(transitive)
+ Addedexit-on-epipe@1.0.1(transitive)
+ Addedlodash._arraymap@3.0.0(transitive)
+ Addedlodash._baseassign@3.2.0(transitive)
+ Addedlodash._basecallback@3.3.1(transitive)
+ Addedlodash._basecopy@3.0.1(transitive)
+ Addedlodash._baseeach@3.0.4(transitive)
+ Addedlodash._baseisequal@3.0.7(transitive)
+ Addedlodash._bindcallback@3.0.1(transitive)
+ Addedlodash._createassigner@3.1.1(transitive)
+ Addedlodash._getnative@3.9.1(transitive)
+ Addedlodash._isiterateecall@3.0.9(transitive)
+ Addedlodash.assign@3.2.0(transitive)
+ Addedlodash.defaults@3.1.2(transitive)
+ Addedlodash.isarguments@3.1.0(transitive)
+ Addedlodash.isarray@3.0.4(transitive)
+ Addedlodash.istypedarray@3.0.6(transitive)
+ Addedlodash.keys@3.1.2(transitive)
+ Addedlodash.map@3.1.4(transitive)
+ Addedlodash.pairs@3.0.1(transitive)
+ Addedlodash.restparam@3.6.1(transitive)
+ Addedxlsx@0.8.8(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedcfb@1.2.2(transitive)
- Removedcodepage@1.3.8(transitive)
- Removedconcat-stream@2.0.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjszip@2.4.0(transitive)
- Removedlodash._arraypool@2.4.1(transitive)
- Removedlodash._basebind@2.4.1(transitive)
- Removedlodash._basecreate@2.4.1(transitive)
- Removedlodash._basecreatecallback@2.4.1(transitive)
- Removedlodash._basecreatewrapper@2.4.1(transitive)
- Removedlodash._baseisequal@2.4.1(transitive)
- Removedlodash._createwrapper@2.4.1(transitive)
- Removedlodash._getarray@2.4.1(transitive)
- Removedlodash._isnative@2.4.1(transitive)
- Removedlodash._maxpoolsize@2.4.1(transitive)
- Removedlodash._objecttypes@2.4.1(transitive)
- Removedlodash._releasearray@2.4.1(transitive)
- Removedlodash._setbinddata@2.4.1(transitive)
- Removedlodash._shimkeys@2.4.1(transitive)
- Removedlodash._slice@2.4.1(transitive)
- Removedlodash.bind@2.4.1(transitive)
- Removedlodash.createcallback@2.4.4(transitive)
- Removedlodash.defaults@2.4.1(transitive)
- Removedlodash.forin@2.4.1(transitive)
- Removedlodash.forown@2.4.1(transitive)
- Removedlodash.identity@2.4.1(transitive)
- Removedlodash.isfunction@2.4.1(transitive)
- Removedlodash.isobject@2.4.1(transitive)
- Removedlodash.keys@2.4.1(transitive)
- Removedlodash.map@2.4.1(transitive)
- Removedlodash.noop@2.4.1(transitive)
- Removedlodash.property@2.4.1(transitive)
- Removedlodash.support@2.4.1(transitive)
- Removedpako@0.2.9(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtypedarray@0.0.6(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxlsx@0.7.12(transitive)
Updatedlodash.defaults@^3.1.2
Updatedlodash.map@^3.1.4
Updatedxlsx@^0.8.0