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

@wawjs/ngx-map

v22.0.0

Published

Angular map, address, and geocoding components from Web Art Work.

Readme

@wawjs/ngx-map

Angular map and address components from Web Art Work.

ngx-map extracts the BOS map toolkit into a standalone Angular package built on @angular/google-maps, @wawjs/ngx-http, and the input/modal primitives from @wawjs/ngx-ui.

Installation

npm i --save @wawjs/ngx-map @angular/google-maps

Configure the Google Maps JavaScript API in your application as required by @angular/google-maps.

Usage

import { provideNgxMap } from '@wawjs/ngx-map';

export const appConfig = {
	providers: [
		provideNgxMap({
			photonUrl: '/api/proton',
			predictionLimit: 7,
		}),
	],
};
<lib-map [height]="'360px'" [zoom]="13" />

<lib-address
	label="Address"
	placeholder="Search address..."
	[(address)]="address"
	(wChange)="onAddress($event)"
/>

Available Features

| Name | Description | | ------------------ | -------------------------------------------------------------------------------- | | MapComponent | Google Maps wrapper with markers, map clicks, and optional click-to-place marker | | AddressComponent | Address search input with Photon predictions and a pick-from-map modal | | MapService | Forward and reverse geocoding through a Photon-compatible backend proxy | | provideNgxMap | Environment provider for map package defaults |

Configuration

| Option | Default | Description | | ---------------------- | --------------------- | --------------------------------------------------- | | photonUrl | /api/proton | Backend Photon proxy base URL | | predictionLimit | 7 | Maximum prediction count for forward geocoding | | lastCenterStorageKey | waw_map_last_center | Browser storage key for the last selected center | | resolveUserLocation | true | Whether MapComponent attempts browser geolocation |

License

MIT

AI Coding Agents

This package includes AI.md with copyable instructions for Codex, Claude Code, Cursor, and other coding agents.

Copy this into the consuming project's AGENTS.md, CLAUDE.md, or equivalent file:

- This Angular project uses `@wawjs/ngx-map` for Google Maps wrappers, address search, geocoding, and reverse geocoding.
- Import public APIs from `@wawjs/ngx-map`.
- Prefer `provideNgxMap({...})` for package configuration.
- Prefer `MapComponent`, `AddressComponent`, and `MapService` before adding custom map/address/geocoding implementations.
- Keep Google Maps, geolocation, and browser storage access SSR-safe.