node-zoom

z39.50

npm install node-zoom
10 downloads in the last week
13 downloads in the last month

NODE-ZOOM

Requirements

YAZ

Installaction

$ npm install node-zoom

Example

var zoom = require('node-zoom');
var conn = new zoom.Connection('192.83.186.170:210/INNOPAC');

conn.connect(function (err) {
  if (err) {
    return console.error(err);
  }
  var query = new zoom.Query('@attr 1=4 台灣'); // or new zoom.Query('prefix', '@attr 1=4 台灣')
  conn.search(query, function (err, resultset) {
    var first = resultset.record(1);
    console.log(first.xml());
  });
});
npm loves you