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

ropegeo-common

v1.7.0

Published

Shared types and utilities for RopeGeo and WebScraper

Readme

ropegeo-common

Shared types and utilities for RopeGeo and WebScraper. Published to npm as ropegeo-common so both projects can depend on a single set of types instead of duplicating code.

What’s in this package

  • Page preview typesPagePreview, Difficulty, and related enums used by the route preview API (e.g. GET /route/{routeId}/preview). PagePreview includes optional permit (PermitStatus enum: Yes, No, Restricted, Closed, or null).
  • Page data sourcePageDataSource enum (e.g. Ropewiki) used when linking routes to pages.
  • Ropewiki page view typesRopewikiPageView, RopewikiBetaSectionView, and RopewikiImageView for the getRopewikiPageView API (full Ropewiki page with beta sections and images). BetaSectionImage includes id, downloadBytes (DownloadBytes: preview/banner/full byte sizes), and page-based paginationPaginationResults / MapDataTileKeysResults (e.g. GET /mapdata/{mapDataId}/tiles with total, page, totalBytes).
  • Routes (GET /routes)Route, RouteType, RouteGeoJsonFeature, and RoutesGeojson for the routes GeoJSON Feature Collection API. RoutesGeojson.fromRoutes(routes) builds the response shape from an array of Route.
  • Search API typesSearchResults (paginated search response with results: Preview[] and nextCursor: string), RegionPreview (region search hit with id, name, parents, imageUrl, source), and PagePreview (page search hit; same type as route preview).

Usage

npm install ropegeo-common
import {
  PagePreview,
  PageDataSource,
  Difficulty,
  DifficultyTechnical,
  DifficultyWater,
  DifficultyTime,
  DifficultyRisk,
  PermitStatus,
  Route,
  RouteType,
  RoutesGeojson,
  type RopewikiPageView,
  type RopewikiBetaSectionView,
  type RopewikiImageView,
  type RegionPreview,
  type SearchResults,
  DownloadBytes,
  PaginationResults,
  MapDataTileKeysResults,
  PaginationResultType,
} from 'ropegeo-common';

Related repos

  • RopeGeo – Expo app for canyoneering maps and route data.
  • WebScraper – Lambdas and jobs that scrape canyoneering sites (e.g. Ropewiki), parse data, and store it for the API.