New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

invitepeople

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

invitepeople

Invite people within range

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

#How to install ?

npm install invitepeople

#API details

#* Require the invitepeople module into your own module.

const Invite = require(‘invitepeople’);

#* Create a new Instance of Invite. It takes three argument

  • List of users (Array list)
  • Range (Distance in KM within which API need to shortlist the users)
  • Destination Address (latitude & Longitude of destination dublin)

var users = new Invite(customerList,100,{latitude:53.34232,longitude:-6.98765})

#* Filter the output using filter API , Return type is Array list with sorted list of customer according to their user_id.

users.filter()

Example :

result = new invite(value, range, destination); result.filter().forEach( val => {  console.log(val))

FAQs

Package last updated on 20 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts