Socket
Socket
Sign inDemoInstall

node-xlsx

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-xlsx - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

2

lib/node-xlsx.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc