# @types/japan-postal-code

> TypeScript definitions for japan-postal-code

Latest version **0.2.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/japan-postal-code
pnpm add @types/japan-postal-code
yarn add @types/japan-postal-code
bun add @types/japan-postal-code
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2023-11-07 |
| First published | 2020-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/japan-postal-code
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japan-postal-code
- npm.io page: https://npm.io/package/@types/japan-postal-code

## Recent versions

- 0.2.4 (latest) — 2023-11-07
- 0.2.2 (ts3.8) — 2021-12-24
- 0.2.1 (ts3.3) — 2021-01-10
- 0.2.0 (ts2.8) — 2020-02-28
- 0.2.3 — 2023-10-18

## README

# Installation
> `npm install --save @types/japan-postal-code`

# Summary
This package contains type definitions for japan-postal-code (https://github.com/mzp/japan-postal-code).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japan-postal-code.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japan-postal-code/index.d.ts)
````ts
declare namespace JapanPostalCode {
    interface Callback {
        (address: AddressData): void;
    }

    interface AddressData {
        prefecture: string;
        city: string;
        area: string;
        street: string;
    }
}

declare function get(zip_code: string, callback: JapanPostalCode.Callback): void;

declare const JapanPostalCode: {
    get: typeof get;
};
export = JapanPostalCode;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by .

---
_Source: https://npm.io/package/@types/japan-postal-code · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
