addressr

1.0.4 • Public • Published

Addressr Node.js Library

The Addressr Node library provides access to the Addressr API.

Documentation

See instructions on using the API

Installation

Install the package with:

npm install addressr --save

Usage

Configure the package with your key and secret.

var options = {
    key: 'key...',
    secret: 'secret...'
};
const addressr = require('addressr')(options);

Resolve an address with a promise:

addressr.resolveAddress('virtual-address')
.then(function(address) {
    address; // the address object
});

Resolve an address with a callback:

addressr.resolveAddress('virtual-address', function(address) {
    address; // the address object
});

Readme

Keywords

Package Sidebar

Install

npm i addressr

Weekly Downloads

2

Version

1.0.4

License

ISC

Last publish

Collaborators

  • anthonybell