The libvirt virtualization API node.js binding
npm install libvirt-nodeLibvirt bindings for NodeJS
=============



Node bindings for [Libvirt][libvirt_home]
The bindings are generated from libvirt's exported api
sudo apt-get install libvirt-dev
npm install libvirt-node
let connection = libvirt.open('qemu:///system');
let domains = connection.listAllDomains(libvirt.VIR_CONNECT_LIST_DOMAINS_RUNNING);
console.log(My running domains: ${domains.map(domain => domain.getName())});
More examples can be found in the tests
The [whitelist][whitelist] has the supported (and not yet supported) functions.
For development documentation please refer to [DEVELOPMENT.md][development]
libvirt-node is released under LGPL-2.1
[libvirt_home]: http://www.libvirt.org
[libvirt_docs]: https://libvirt.org/html/index.html
[whitelist]: https://github.com/RamyElkest/libvirt-node/blob/master/src/whitelist.js
[development]: https://github.com/RamyElkest/libvirt-node/blob/master/DEVELOPMENT.md
[debug]: https://www.npmjs.com/package/debug
[napi]: https://nodejs.org/api/n-api.html