Skip to content

node-hgt no longer maintained #37

Description

@clementallen

It seems node-hgt is no longer being maintained, with the last version being published to NPM in 2020.

I have created a fork here: https://github.com/glideandseek/node-hgt which is published to NPM as @glideandseek/node-hgt.

I have been using this fork for production workloads (~40-100 million elevation retrievals per day) over the last 1.5 months and noticed no regressions.

This fork has the following changes:

  • Requires node >= 22
  • Removes the outdated polyfill libraries for promise & extend
  • Removes request in favour of native fetch
  • Updates all other dependencies (primarily lru-cache)
  • Moves from tape to vitest for unit tests

Removal of some of these packages has reduced the package download size from 208kb to 17kb
Original: https://bundlephobia.com/package/node-hgt@1.2.3
Fork: https://bundlephobia.com/package/@glideandseek/node-hgt@2.1.0

The most recent version at the time of writing (2.1.1) also includes the fixes in #34 made by @MariuszTurek-W3media

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions