truesearch

1.0.2 • Public • Published

Simple package to get truecaller data of a number

Install

You can install truesearch using npm:

npm i truesearch

Usage:

This package provides a function truesearch that takes two parameters:

  • phonenumber (required): Phone number must be in international Format.
  • installationId (required): your truecaller installation Id

Example:

const truesearch = require("truesearch");

const phoneNumber = "+91760590xxxx";
const installationId = 'your installation id';
async function main() {
try {
    const result = await truesearch(phoneNumber,installationId);
    console.log(result);
  } catch (error) {
    console.error(error.message);
  }
}
main()

Credits

Created by Guru.

/truesearch/

    Package Sidebar

    Install

    npm i truesearch

    Weekly Downloads

    671

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.42 kB

    Total Files

    6

    Last publish

    Collaborators

    • guru322