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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@tomtom-org/maps-sdk

v0.38.1

Published

TomTom Maps for JavaScript

Downloads

1,253

Readme

TomTom Maps SDK for JavaScript

Examples | Documentation | API Reference

NPM Version

TomTom Maps SDK for JavaScript is a JavaScript library for building applications using TomTom location maps and services.

It leverages the power of MapLibre GL JS and GeoJSON to seamlessly integrate TomTom maps and services with convenient out-of-the-box support, while staying highly customizable and extensible.

⚠️ Public Preview Notice

We have released some capabilities in the Maps SDK under Public Preview to collect feedback from the community.

  • While our goal is to keep the design of the interface stable, breaking changes will occur, particularly in the earlier versions.
  • The versions will follow a 0.MAJOR.MINOR pattern for the time being.
  • Stay tuned with our release CHANGELOG.md files.

🚀 Getting Started using npm

npm i @tomtom-org/maps-sdk

Additionally:

  • If you use the map: npm i maplibre-gl

📚 Documentation & Examples

Explore comprehensive guides and interactive examples to get the most out of Maps SDK JS:

🚀 Interactive Examples

📖 Documentation

📋 API Reference

📝 Latest Updates

🌍 Where can you run it on?

  • web: display and configure a map, search for places, plan routes, and easily display and interact with them, including your own data
  • nodejs: (reverse)geocode locations, (re)calculate routes, and more, to enrich data before saving or returning it
  • React Native: leverage the power of TomTom location services from a single codebase

📦 Bundles

  • Map: MapLibre-powered library for readily styled, service-compatible and interactive TomTom Maps
    • MapLibre is an open source peer dependency so your application can also use it directly
  • Services: Functions with GeoJSON services for TomTom location APIs
    • Compatible with web, nodejs and React Native applications
  • Core: shared configuration, types and utilities
    • Facilitates seamless integration between map and services

🗺️ Map

The SDK Map bundle is built on top of MapLibre GL JS, and shares it as a dependency with your app.
You can both use the TomTom and MapLibre SDKs together at any time.

✨ Feature highlights

Readily available, yet highly customizable interactive TomTom Maps:

  • in different styles: light, dark, b&w, satellite
  • with configurable POIs and Live Traffic
  • seamlessly integrable with TomTom Services
  • with places, routes and geometries from TomTom services or your own data

🚀 Getting Started with Map

Using npm

The SDK Map uses MapLibre GL JS as peer dependency. Therefore, you need to also have it installed in your project.
The TomTom SDK is tested against the latest stable release of MapLibre GL.

npm i @tomtom-org/maps-sdk maplibre-gl

Code imports from the SDK Map Bundle will come from @tomtom-org/maps-sdk/map

🔧 Services

The SDK Services bundle integrates the TomTom location APIs into comprehensive GeoJSON services.
The services can be integrated in web, nodejs and React Native apps.
The compatibility of both inputs and outputs with GeoJSON helps with further integration with geospatial tools.

✨ Feature highlights

🚀 Getting Started with Services

Using npm

npm i @tomtom-org/maps-sdk

Code imports from the SDK Map Bundle will come from @tomtom-org/maps-sdk/services

⚙️ Core

The SDK Core is a set of utilities and TypeScript types which are common to both Map and Services.`

✨ Feature highlights

  • Common configuration
  • Common types (such as outputs from Services which can be used as inputs to the Map)
  • Utilities (such as distance/duration formatting and bounding box calculations)

🔧 Using the Core Bundle

If you use Map and/or Services, there is no need to install any further packages.
Code imports from the SDK Core Bundle will come from @tomtom-org/maps-sdk/core