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

@autoaddress.com/aa3-control

v3.3.4

Published

Autoaddress Control 3

Readme

README

How do I get set up?

  • run npm install "@autoaddress.com/aa3-control" to download the library

  • Reference the autoaddress.min.js file inside your html header tag, pointing to the appropriate directory

	<script src="node_modules/@autoaddress.com/aa3-control/autoaddress/autoaddress.min.js"></script>
	<link rel="stylesheet" href="node_modules/@autoaddress.com/aa3-control/autoaddress/autoaddress-style.css">
  • Add the folowing tag inside your html body tag
	<div id="aa-control"></div>
  • Add the following in a script tag after the body, replacing the apiKey parameter with your autoaddress ApiKey.
	<script>
        var aa = Autoaddress({
            apiKey: "my_key",
            element: "aa-control"
        });
	</script>

Angular Setup

In your Angular Project. Run the following steps:

  • run npm install "@autoaddress.com/aa3-control" to download the library

  • In your angular.json file in your Angular environment, add these references to the autoaddress files from the node_modules in your styles and scripts section of your build scripts as shown below:

"styles": [
    "node_modules/@autoaddress.com/aa3-control/autoaddress/autoaddress-style.css",
],
"scripts": [
    "node_modules/@autoaddress.com/aa3-control/autoaddress/autoaddress.min.js",
]
  • Also add the code block shown below to the asset section of the angular.json in your build script:
 "assets": [
    { 
    	"glob": "**/*", 
        "input": "./node_modules/@autoaddress.com/aa3-control/autoaddress/assets/images/", 
        "output": "./assets/images/" 
    },
	"src/favicon.ico",
    "src/assets"
],
  • In your component, declare the Autoaddress function as shown in the example component below in your component's typescript file (*.component.ts file):
import { Component, OnInit } from '@angular/core';
declare function Autoaddress(options: any): void

@Component({
  selector: 'app-custom',
  templateUrl: './custom.component.html',
  styleUrls: ['./custom.component.scss']
})
export class CustomComponent implements OnInit {
  • To call the Autoaddress, follow the example below. The example demonstrates intializing the Autoaddress control, setting the options for the Autoaddress control (Please refer to our Helpscout page for a list of additional options),and using callbacks when interacting with the control.
import { Component, OnInit } from '@angular/core';
declare function Autoaddress(options: any): void

@Component({
  selector: 'app-custom',
  templateUrl: './custom.component.html',
  styleUrls: ['./custom.component.scss']
})
export class CustomComponent implements OnInit {

  control: any;

  constructor() { }

  ngOnInit(): void {

    this.control = Autoaddress({
      apiKey: "pub_xxxxxxxxxxxxxxxxx",
      elementId: "aa-control",
      onPostLookup: function (result: any) {
        console.log(result);
      }
    });
  }

}

In this example we are initializing Autoaddress when the Init event for our custom component is called.

Once Autoaddress has been set up in typescript, go to the html part of your component (*.component.html). and add the following:

<div id="aa-control"></div>
  • You can call functions for the Autoaddress control once it has been initialized as show below using the example from above. (Please refer to our Helpscout page to get a list of functions for the control):
this.control.setSearch("89-94 Capel Street");