1.0.2 • Published 10 months ago

random-address-lk v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

RANDOM ADDRESS LK


Example

const getAddress = require('random-address-lk')

async function run() {

  try {
    let getdata = await getAddress();
    console.log(getdata);
  } catch (error) {
    console.error('Error fetching address:', error);
  }
}
run();
import getAddress from 'random-address-lk'

async function run() {

  try {
    let getdata = await getAddress();
    console.log(getdata);
  } catch (error) {
    console.error('Error fetching address:', error);
  }
}
run();

OutPut

{
  status: true,
  creator: 'Nimesh Official',
  message: [
    {
      street: '20 3rd Cross Street, 11',
      city: 'Colombo',
      state: 'Colombo',
      phone: '(+94) ( 011) 2421767',
      countryCode: '+94'
    },
    {
      street: 'No.1, Temple Road',
      city: 'Temple Road',
      state: 'Rajagiriya',
      phone: '94-11-4443750',
      countryCode: '+94'
    },
    {
      street: '355 2nd Flr Old Moor Street, 12',
      city: 'Colombo',
      state: 'Colombo',
      phone: '(+94) ( 011) 2448553',
      countryCode: '+94'
    },
    {
      street: '212/50 Gas Works Street, 11',
      city: 'Colombo',
      state: 'Colombo',
      phone: '(+94) ( 011) 2435325',
      countryCode: '+94'
    },
    {
      street: '53, Hampden Lane, Wellawatta',
      city: 'Wellawatta',
      state: 'Colombo',
      phone: '94-11-2586417',
      countryCode: '+94'
    },
    {
      street: '118A Galle Road, 06',
      city: 'Colombo',
      state: 'Colombo',
      phone: '(+94) ( 011) 2585628',
      countryCode: '+94'
    }
  ]
}

1.0.2

10 months ago

1.0.0

10 months ago