tw-library

0.0.3 • Public • Published

tw-library

Installaction

$ npm install tw-library

Example

var Library = require('./lib/library');
var lib = Library.create(/* host:port/database */); // default: 192.83.186.170:210/INNOPAC

lib.search('@attr 1=7 9789866613562', function (err, books) {
  console.log(books.length);
  var first = books.first();
  console.log(first.getData());
  console.log(first.getIsbn13());
  console.log(first.getIsbn10());
  console.log(first.getIsbn());
  console.log(first.isbn());
});

Readme

Keywords

none

Package Sidebar

Install

npm i tw-library

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • poying