arc-bookiza
v2.0.0
Published
Returns the ARC object to register Bookiza Client with and to connect it with the Bubblin Superbook API
Downloads
11
Readme
Arc-Bookiza
Returns the ARC object to register Bookiza Client with, and connects it to the Bubblin Superbook API.
Usage:
import read from 'arc-bookiza'
import os from 'os'
/* Get to the root directory of the machine */
const homeDir = os.homedir()
const location = `${homeDir}/.bookizarc`
// const location = path.join(__dirname, '..', '.bookizarc');
read(location)
.then((data) => {
// Do something with arc.rc values.
...
...
})
.catch((err) => {
// handle error.
});