Socket
Socket
Sign inDemoInstall

excel-libxl

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    excel-libxl

libxl bindings for Node.js


Version published
Weekly downloads
6
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

Version 0.0.5

  • Fully covered libxl::Font API
  • Added enums: script styles (SCRIPT_*), underline styles (UNDERLINE_*), colors (COLOR_*)
  • Added this changelog

Readme

Source

node-excel-libxl

libxl bindings for Node.js. libxl is a library for working with Excel files.

Installation

npm install excel-libxl

Running

For example you have simple app.js:

var libxl = require('excel-libxl')
  , book = libxl.createBook();

book.load('./my-excel-file.xls', function(err) {
  book.getSheet(0).setName('Sheet #1 new name');
  book.save('./my-excel-file.xls', function(err) {
    process.exit(0);
  });
});

If libxl.so is not located in one of the default library paths (e.g. /usr/lib) you need to set LD_LIBRARY_PATH environment variable to start Node.js app correctly:

LD_LIBRARY_PATH="/path/to/libxl.so/" node app.js

Nearest roadmap

  • Extend Sheet API to be able get data from cells or set it
  • Mac OS X support

TODO

  • Finish up covering of Book and Sheet API
  • Add Format API
  • Add Font API
  • Tests. I suppose vows will be used
  • Cleanup, refactor code

Disclaimer

The sharks of C++ may find my code awful. My apologies, guys. I'm only learning C++. And thus addon is expected to be serious one I won't transfer ownership. But I promise to merge all the helpful pull requests.

Keywords

FAQs

Last updated on 05 Feb 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc