Create and export google contact to CSV or JSON
$ npm install @guntur/google-contact
const googleContact = require('@guntur/google-contact');
const person = googleContact.create({
name: 'John Doe',
givenName: 'John Doe'
phone: [
{
type: 'Mobile',
value: '+0000123456789'
}
]
});
console.log(person);
/*
{
'Name': 'John Doe',
'Given Name': 'John Doe',
...
'Phone 1 - Type': 'Mobile',
'Phone 1 - Value': '+0000123456789',
...
}
*/
- Params:
options
:<object>
- (required). See state file for all options.
- Returns:
<object>
- Params:
options
:<object>
- (required)contacts
:<object[]>
outputFilepath
:<string>
- Returns:
void
MIT © Guntur Poetra