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

@auramaps/core

v0.2.1

Published

Framework-independent cinematic 3D map toolkit (MapLibre + deck.gl)

Readme

@auramaps/core

Framework-independent 3D map engine (MapLibre + deck.gl).

This is a library, not a navigation app. Like maplibre-gl / mapbox-gl, it gives you a map instance, themes, 3D buildings, and drawing helpers. From → To routing UI is not included — your app (or a separate directions API) supplies coordinates; AuraMap draws them.

Explore the live AuraMap demo →

Screenshots

| Neon Night | Minimal Dark | Minimal Light | | --- | --- | --- | | AuraMap Neon Night | AuraMap Minimal Dark | AuraMap Minimal Light |

Install

npm install @auramaps/core

That one command installs everything the engine needs (maplibre-gl, deck.gl, …).
You do not need to install maplibre-gl yourself.

import { AuraMap } from "@auramaps/core";
// MapLibre CSS is included in this file
import "@auramaps/core/styles.css";

Quick start

const map = new AuraMap({
  container: document.getElementById("map")!,
  theme: "neon-night", // | "minimal-dark" | "minimal-light"
  center: [54.39, 24.45], // required for a useful first view
  zoom: 14,
  pitch: 60,
  buildings: true,
  navigationControl: true,
  placePopup: false // opt-in click inspector
});

// Coordinates from YOUR backend / OSRM / Mapbox / Google…
const line: [number, number][] = [
  [54.37, 24.47],
  [54.39, 24.45],
  [54.42, 24.44]
];

map.addStreetRouteLine({ geometry: line });
map.addMarker({
  longitude: 54.37,
  latitude: 24.47,
  number: 1,
  label: "Start",
  type: "start"
});

map.destroy();

Defaults

If you omit camera options, the map opens on a neutral world view (center: [0, 20], zoom: 1.8). Always pass center / zoom for your product.

| Option | Default | |--------|---------| | theme | "neon-night" | | center | [0, 20] | | zoom | 1.8 | | pitch | 45 | | buildings | true | | navigationControl | true | | attributionControl | false (credit OSM in your product UI) |

What is in the package vs demo

| Feature | npm @auramaps/core | apps/demo | |--------|----------------------|-------------| | Map + camera + themes | ✅ | ✅ | | 3D buildings (OSM footprints) | ✅ | ✅ | | Draw path / markers / layers | ✅ (you pass coords) | optional | | Place popup (opt-in) | ✅ optional | ✅ | | Terrain / 3D Tiles (your URL) | ✅ optional | optional | | From / To form UI | ❌ | ❌ | | OSRM + geocoding | ❌ | ❌ |

Themes

map.setTheme("minimal-dark");

Buildings

map.addBuildings({
  glow: true,
  colorByHeight: true,
  preserveFootprint: true
});

// Optional mesh buildings — you provide tileset URL
map.enable3DTiles({ url: "https://your-tileset/tileset.json" });

Drawing a route (library way)

import { geometryToRoute } from "@auramaps/core";

const route = geometryToRoute("trip-1", geometry, {
  durationSeconds: 600
});

map.addStreetRouteLine({ geometry });
map.addRoute({ routes: [route] });
map.fitBounds(geometry);

React / Vue

npm install @auramaps/react
# pulls @auramaps/core + maplibre-gl automatically
# or
npm install @auramaps/vue
import { AuraMap } from "@auramaps/react";
import "@auramaps/core/styles.css";

<AuraMap
  theme="neon-night"
  center={[54.39, 24.45]}
  pitch={60}
  placePopup={false}
/>

Customization

AuraMap exposes high-level methods and the complete underlying MapLibre map:

const map = auraMap.getMapInstance();

const handleClick = (event) => {
  auraMap.addMarker({
    longitude: event.lngLat.lng,
    latitude: event.lngLat.lat,
    label: "Selected location"
  });
};

map.on("click", handleClick);

// Cleanup:
map.off("click", handleClick);

Available engine features include markers, street route lines, animated routes, camera controls, custom themes, 3D buildings, terrain, atmosphere, 3D Tiles, place popups, columns, arcs, heatmaps, pulse points, vehicles, extruded GeoJSON, and clustered markers. getMapInstance() also supports custom MapLibre sources, layers, controls, popups, images, expressions, filters, and events.

Read the complete customization guide for examples and cleanup patterns.

Two-finger twist rotation

const map = new AuraMap({
  container: "map",
  touchRotation: true
});

Users can place two fingers on a touch screen, twist in a circular motion, and rotate the map. This is enabled by default.

Cleanup

map.destroy();

License

MIT