Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18napis-address-data

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18napis-address-data

address data extractor from i18napis.appspot.com

  • 2018.12.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
3
Weekly downloads
 
Created
Source

i18napis Address Data

Unofficial version controlled JSON distribution i18napis Address Data.

It should be noted that the "official" data is distributed via a web service. The JSON data contained in this package is provided as a convenience for the development community, and is programatically generated from the corresponding service using the JSON conversion utility provided here.

Goals

  • The data in this package is intended to serve as a common reference point for most JavaScript packages.
  • Allow i18n libraries to define i18napis Address Data as versioned dependency.

What's not included

No code other than the conversion utility is included.

What's included

The JSON files for each data/<country> found in the official service. The structure looks like the below.

{
  "lang": "en",
  "upper": "ACNOSZ",
  "zipex": "H3Z 2Y7,V8X 3X4,T0L 1K0,T0H 1A0,K1A 0B1",
  "sub_zips": "T~V~R~E~A~X0E|X0G|X1A~B~X0A|X0B|X0C~K|L|M|N|P~C~G|H|J|K1A~S|R8A~Y",
  "zip": "[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z] ?\\d[ABCEGHJ-NPRSTV-Z]\\d",
  "require": "ACSZ",
  "id": "data/CA",
  "languages": "en~fr",
  "sub_keys": "AB~BC~MB~NB~NL~NT~NS~NU~ON~PE~QC~SK~YT",
  "key": "CA",
  "posturl": "https://www.canadapost.ca/cpo/mc/personal/postalcode/fpc.jsf",
  "fmt": "%N%n%O%n%A%n%C %S %Z",
  "sub_names": "Alberta~British Columbia~Manitoba~New Brunswick~Newfoundland and Labrador~Northwest Territories~Nova Scotia~Nunavut~Ontario~Prince Edward Island~Quebec~Saskatchewan~Yukon",
  "name": "CANADA"
}

Status

Latest official release is version 2018.12.0, published on 2018-12-12. Last checked for updates on 2018-12-12.

Usage

Installation using NPM:

npm install --save i18napis-address-data

We follow a <major>.<minor>.<patch> version based on the following. The major and minor versions corresponds to the year and month where any data difference was found and made available here. The patch version is independent and used for any necessary package fixes.

On your application, you can access i18napis Address data by importing the "i18napis-address-data" module.

import i18napisAddressData from "i18napis-address-data";

License

MIT © PayPal 2017

Keywords

FAQs

Package last updated on 12 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc