This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

google-contacts-parser
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Contact List Parser

This is a parser for Outlook or Google contact lists exported as CSV files.

Installation

To use this parser in your project, you can install it via npm:

npm install google-contacts-parser

Usage

import parseContacts from "google-contacts-parser";
...
  // assuming file a buffer
  parseContacts(buffer)
    .then((outputPath) => {
      res.status(200).send({ message: 'File uploaded and parsed successfully.', file: outputPath });
    })
    .catch((error) => {
      res.status(500).send({ error: error.message });
    });

Function

WIP

Testing

This package uses the UVU testing framework. To run the tests, use the following command:

npm test

Contributing

If you find a bug or want to contribute to the code or documentation, you can fork the repository and make changes for a later review and possible project integration.

License

This project is licensed under MIT.

Package Sidebar

Install

npm i google-contacts-parser

Weekly Downloads

11

Version

1.1.1

License

MIT

Unpacked Size

12.9 kB

Total Files

13

Last publish

Collaborators

  • neckell