New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@yatmo/nuxt

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yatmo/nuxt

Add real estate maps, points of interest and neighbourhood data to Nuxt applications: a module that configures Yatmo from nuxt.config and .env, auto-imports the YatmoMap, YatmoPois and YatmoNeighbourhoodText components and a server-side composable for an

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@yatmo/nuxt

Add real estate maps, points of interest and neighbourhood data to Nuxt applications. @yatmo/nuxt is the official Nuxt module for Yatmo: one entry in nuxt.config, then auto-imported components for the interactive map of the surroundings of a property (schools, shops, public transport, real travel times on foot, by bike, by car and by transit, isochrones), the nearest places by category, and the written neighbourhood text, fetched on the server so it is part of the HTML search engines index. 25 countries, 23 languages, Nuxt 3 and 4.

npm install @yatmo/nuxt
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@yatmo/nuxt'],
  yatmo: { country: 'BE', language: 'FR' },
  // keys in .env: NUXT_PUBLIC_YATMO_KEY (frontend) and NUXT_YATMO_KEY (backend)
});
<script setup lang="ts">
const { latitude, longitude } = listing;
const { data } = await useYatmoNeighbourhoodText({ latitude, longitude }, { titles: 'city' });
</script>

<template>
  <YatmoMap :latitude="latitude" :longitude="longitude" marker="circle" isochrone="right" />
  <YatmoPois :latitude="latitude" :longitude="longitude" :categories="['education', 'shopping']" />
  <YatmoNeighbourhoodText v-if="data" :text="data.text" />
</template>

A property page with the Yatmo map, the nearest places and the neighbourhood text

Install in 5 minutes

  • Get a Yatmo licence at yatmo.com: a frontend key (locked to your domains, used by the map in the browser) and a backend key (kept on the server, used by the composables) (keys explained).
  • npm install @yatmo/nuxt, add '@yatmo/nuxt' to modules and the country and language under yatmo.
  • .env: NUXT_PUBLIC_YATMO_KEY=your_frontend_key and NUXT_YATMO_KEY=your_backend_key (or frontendKey and key in the module options).
  • Use the components in your listing page with the property coordinates.

What the module gives you

  • Components, auto-imported, with the key, country and language already set: YatmoMap (the iframe plugin: every parameter is a prop), YatmoInteractiveMap (the JavaScript plugin, one per page, search features), YatmoPois (nearest places with travel times, categories, mode, limit, slots), YatmoNeighbourhoodText (headings and paragraphs, paragraphs, heading, titles). They are the @yatmo/vue components.
  • Composables: useYatmoNeighbourhoodText(position, options) and useYatmoSummary(position) wrap useAsyncData and call Yatmo with the backend key on the server (the frontend key in the browser), so the text and the places are rendered in the HTML; useYatmo() returns the browser configuration for your own calls with @yatmo/sdk.
  • Runtime config: runtimeConfig.public.yatmo (key, country, language) and runtimeConfig.yatmo.key, overridable per environment with the usual NUXT_ variables.

Why

A listing page that describes the neighbourhood, with real travel times to real places, is more useful to the visitor and brings long-tail search traffic a map alone never brings. Nuxt renders the text on the server, so it is indexed like your own content, and the map stays interactive.

MIT licence. Yatmo is a paid service for real estate portals, agency networks and developers; a licence key is required.

Keywords

nuxt

FAQs

Package last updated on 02 Oct 2026

Related posts