swedish-postal-code-validator
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Swedish postal code validator

Validates Swedish postal codes

Build Status NPM version

Install

$ npm install --save swedish-postal-code-validator

Usage

import { isValid } from 'swedish-postal-code-validator';
 
isValid('41663') // => true
isValid('32663') // => false

License

MIT © Jonathan Svenheden

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i swedish-postal-code-validator

    Weekly Downloads

    185

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.47 kB

    Total Files

    9

    Last publish

    Collaborators

    • jonathanp