wireapp/node-addressbook

Name: node-addressbook

Owner: Wire Swiss GmbH

Description: Node.js module providing access to the macOS address book

Created: 2016-01-21 16:33:56.0

Updated: 2018-05-23 23:26:35.0

Pushed: 2017-02-01 16:43:13.0

Homepage:

Size: 24

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Wire

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.

You can find the published source code at github.com/wireapp/wire.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

Building

Building for node is done with node-gyp:

node-gyp configure node-gyp build

Building for electron seems to require the use of electron-rebuild:

electron-rebuild -v <electron version>

Usage

how to use the module:

t addressBook = require('node-addressbook');

ole.log("Number of Contacts: ", addressBook.getContactsCount());

ole.log("Me: ", addressBook.getMe());

ole.log("Contact [9]: ", addressBook.getContact(9));

ole.log("Start Importing Contacts");

essBook.getContacts(
progress => console.log("Progress: " + progress + "% "),
contacts => console.log("Contacts: ", contacts)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.