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 🙏

© 2024 – Pkg Stats / Ryan Hefner

bp-address-auto-complete-wrapper

v0.1.2

Published

bp-Address-Auto-Complete-Wrapper is the main wrapper directive, that displays the output from the core directive on every user input (‘Please fill in a house number …’) Used combined with bp-address-auto-complete-core

Downloads

6

Readme

##BpostAddressAutoComplete

##Description bp-Address-Auto-Complete-Wrapper is the main wrapper directive, that displays the output from the core directive on every user input (‘Please fill in a house number …’) Used combined with bp-address-auto-complete-core

Usage

  • Simply copy the files found in the dist folders of the vendor module bp-address-auto-complete-wrapper and include them into the page. The files to copy are bp-address-auto-complete-wrapper.js and bp-address-auto-complete-wrapper.css. For conveniency they can be copied into distinct folders.
  • As an example the bp-address-auto-complete-demo-page-extern module is provided.

Api keys

The autocomplete and validateAddress urls will need API keys. i.e, A http request header called x-api-key needs to be added in the http request. apiKey is added as a scope variable for directive bp-address-auto-complete and bp-address-validator. Please request [email protected] to generate a API key for your application.

Installation

You may download the latest release with the full code from all three modules from github or you may run npm install bp-address-auto-complete-wrapper.

Setup development environment and deployment via grunt

  1. Install node and npm
  2. Install Grunt running npm install -g grunt-cli
  3. Install Bower running npm install -g bower
  4. Install local environment on bp-address-auto-complete, bp-address-auto-complete-wrapper and bp-address-auto-complete-demo-page-extern modules as follows:

Package for Deployment

This concerns the modules bp-address-auto-complete, bp-address-auto-complete-wrapper

  • On command prompt cd to the current directory of the module
  • Run grunt package to package your static assets for deployment.
  • Your package will be generated in a dist folder and your javascripts and stylesheets will be concatenated, minified and versionned.
  • grunt : launches grunt package. Use this task for continuous integration.

Deployment

This concerns the module bp-address-auto-complete-demo-page-extern

  • On command prompt cd to the current directory of the module bp-address-auto-complete-demo-page-extern
  • Run grunt to start a static web server and open your browser Live
  • jshint and/or csslint will be running on your files when they change.
  • With every change done on the other modules bp-address-auto-complete and bp-address-auto-complete-wrapper and running grunt on these modules, the changes are automatically distributed on the corresponding vendor folders of the bp-address-auto-complete-demo-page-extern module.

Contributing

We welcome contributions.

Note that on Windows for tests to pass you need to configure Git before cloning:

git config --global core.autocrlf input

License

License

Copyright (c) 2016 Bpost and other contributors

Licensed under the MIT License