npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

georide-js

v2.0.1

Published

Georide JavaScript sdk

Readme

<ORG_NAME>

georide-js

georide-js is a tiny JavaScript API client for Georide which is awesome french tech, mostly if you are a motorcycle rider.

See full API documentation here.

Georide

Georide a french company that provide security and GPS features for motorcycle. To use it you need to buy from them a small box full of sensors that you put on your bike directly powered by its battery.

To make the UX great they also provide a mobile app (iOS and Android supported) and they made their API public so the users/customers can play with it.

See Georide API documentation here. See Georide services status page here.

Features

  • fetch : The project is using fetch to request the data from the API (node-fetch for Node environment). It permit to handle easyly request promises and make it usable in Node application as in browser's.

  • Customizable option : If Georide decide to change their API endpoints you can set options so your client can still works.

  • Socket client implementation : It implement socket.io client to simplify the event subscription the API provide.

Install

npm i -s georide-js

How to use

Example :

const { Client } = require('georide-js')


const EMAIL = process.env.EMAIL
const PASSWORD = process.env.PASSWORD

const main = async () => {
  // Create the client
  const client = new Client(EMAIL, PASSWORD)

  // Authenticate the user
  const token = await client.login()

  // Retrieve the user info
  const info = await client.Tracker.lock()

  // Retrieve my trackers
  const trackers = await client.User.trackers()
  const myTrackers = trackers.filter(t => t.role === 'owner')
  const myTrackerId = myTrackers[0].trackerId

  // Retrieve my tracker trips
  const trips = await client.Tracker.trips(myTrackerId, new Date('May 01, 2019 00:00:00'), new Date())

  // Lock a tracker
  await client.Tracker.lock(myTrackerId)

  // Toggle a tracker lock
  const { locked } = await client.Tracker.toggle(myTrackerId)

  // Share a trip
  const { url, shareId } = await client.Tracker.shareTrip(myTrackerId, {tripId: trips[0].id})
  
  // Subscribe to the `position` event
  client.onPosition(message => {
    const { trackerId, latitude, longitude, moving } = message
  })

  process.exit()
}

main()

Test

npm test

Contributing

Install

git clone [email protected]:NeilujD/next-blog.git
docker build ./

Tips

  • Update tests if needed
  • Update the JSDoc part