Coder Social home page Coder Social logo

os-x-contacts's Introduction

os-x-contacts

Query all macOS Address Book contacts. Uses contacts-cli under the hood.

npm version ISC-licensed minimum Node.js version support me via GitHub Sponsors chat with me on Twitter

Installing

npm install os-x-contacts

Usage

Returns a readable stream in object mode.

import {readContacts} from 'os-x-contacts'

for await (contact of contacts()) {
	console.log(contact)
}
{
	lastName: 'Appleseed', firstName: 'John',
	phones: [ { label: 'mobile', value: '+49123456789' } ],
	emails: [ { label: 'home', value: '[email protected]' } ]
}
{
	lastName: 'Appleseed', firstName: 'Jane',
	phones: [ { label: 'mobile', value: '+49123456789' } ],
	emails: [ { label: 'home', value: '[email protected]' } ]
}

Contributing

If you have a question or need support using os-x-contacts, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.

os-x-contacts's People

Contributors

derhuerst avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

os-x-contacts's Issues

An in-range update of got is breaking the build 🚨

Version 9.1.0 of got was just published.

Branch Build failing 🚨
Dependency got
Current Version 9.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

got is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes v9.1.0

v9.0.0...v9.1.0

Commits

The new version differs by 24 commits.

  • 1c54a03 9.1.0
  • c901c46 Normalize the URL in the baseUrl option (#579)
  • f241936 Remove AppVeyor
  • 3d98b9b Follow redirects with encoded URI (#564)
  • 45d3a60 Bump get-stream to 0.4.0 (#578)
  • 2ffcd49 Don't freeze any other values than plain objects and arrays (#577)
  • a7cd35a Tiny readme formatting tweak
  • b8a086f Allow the query option to be a URLSearchParams instance (#565)
  • 97533e5 Fix AWS example in readme (#575)
  • 8f30f1f Add note about global-tunnel package
  • eb652f8 Ignore empty query objects (#572)
  • ca2675e Upgrade to [email protected]
  • f30b623 Mention browser and Electron support in the comparison table (#556)
  • a3e77de Support retrying on HTTP 500
  • 2cdb3ed Fix a typo in the readme (#553)

There are 24 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of got is breaking the build 🚨

The devDependency got was updated from 9.5.0 to 9.5.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

got is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 8 commits.

  • 6ce603e 9.5.1
  • 203dadc Fix memory leak when using socket timeout and keepalive agent (#694)
  • 73428f9 Add superagent to the comparison table (#691)
  • d136e61 Update dependencies
  • 877a6c1 Remove badge labels from the Comparison section
  • 5653c1a Add failing test for #687 (#688)
  • 8341fba Consistent use of emphasis in readme (#684)
  • 0bb9fa6 Fix 'Migration guides' json example

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.