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

wbb-singlepoint

v0.0.4

Published

SinglePoint allows you to find Unique Property Reference Numbers ( UPRN ) for properties based on postcode and streetname inputs.

Downloads

2

Readme

SinglePoint

You can use this project to help identify Unique Property Reference Numbers ( UPRN ) using the Idox 'Singlepoint' search API.

https://www.idoxgroup.com/solutions/address-data-solutions/address-search/

Blocks Provided

Provide a list of the blocks provided as part of this integration. This should be a list of block name, and its description.

|Block Name|Purpose| |------------|-------| |Find Address via Singlepoint|The main entry point into this module. This will lookup a property based on first line of address and postcode inputs| |Singlepoint Error|Used whenever there is an error from the API| |Singlepoint No Address Found|Provides a default message to display when the property can not be found. This block doesn't have to be used, it can be changed using the noAddressFound configuration option as provided below.| |Singlepoint Address Found|A placeholder for a successful query. As with the line above, this can be changed using the addressFound property.|

Handler Names

The following handler names and their functions are available :

|Handler Name|Purpose| |------------|-------| |find-uprn|Searches for a UPRN based on the address entered. The result of finding a property will set two variables on the conversation. These are wbb-singlepoint-uprn and wbb-singlepoint-address that will contain the UPRN value, and the full text description of the address.|

Configuration Options

Within the function there are a number of options that can be set to configure the behaviour of the integration. The tables below show the settings that are available for each handler.

find-uprn

|Property|Required|Description| |--------|--------|-----------| |api_key|true|The API key used to authenticate with the service.| |root_url|true|The base URL of the APIs to call. For example, https://webhost.aligned-assets.co.uk/cbeds/WebServices/V2/ | |adapterName|true|The name of the search adapter which will find the properties, ie Sql_LLPG | |firstLine|true|The name of the field containing the first line of address from a form. For example, address1 | |postCode|true|The name of the field containing the postcode for the lookup. For example, postalCode. | |noAddressFound|false|The block ID to use in cases where the input from the user does not result in a property being found. | |addressFound|false|The block ID to use when an address has been found.|