Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fiftyone.geolocation

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fiftyone.geolocation

Geo-location services for the 51Degrees Pipeline API

  • 4.4.21
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
decreased by-40.91%
Maintainers
3
Weekly downloads
 
Created
Source

51Degrees Geo-Location Engines

51Degrees Pipeline API

Developer Documentation

Introduction

This repository contains the geo-location engines for the Node.js implementation of the Pipeline API.

Pre-requesites

The Pipeline engines are written in Node.js and target 6 and above.

Packages

  • geoLocationCloud - A Node.js engine which retrieves geo-location results by consuming data from the 51Degrees cloud service.
  • geoLocationPipelineBuilder - Contains the geo-location engine builders.

Installation

You can either reference the projects in this repository or you can reference the NPM packages in your project:

npm install fiftyone.geolocation

Make sure to select the latest version from NPM.

Examples

Examples can be found in the examples/ folder. See below for a list of examples.

ExampleDescriptionImplemtation
gettingStarted.jsThis example uses geo-location to determine the country from a longitude and latitude.Cloud
combiningServices.jsThis example uses geo-location alongside device detection to determine the country and device.Cloud
configureFromFile.jsThis example shows how to configure pipeline with geo-location from a configuration file.Cloud
webIntegration.jsThis example demonstrates how to get location information from the device that a user is using to access a website.Cloud

Tests

In this repository, there are tests for the examples. You will need to install jest to run them:

npm install jest --global

To run the tests, then call:

jest

Project documentation

For complete documentation on the Pipeline API and associated engines, see the 51Degrees documentation site.

FAQs

Package last updated on 05 Aug 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc