@zerodep/address-directional
TypeScript icon, indicating that this package has built-in type declarations

2.3.4 • Public • Published

@zerodep/address-directional

version language types license

CodeFactor Known Vulnerabilities

A parser to find where a directional name or abbreviation is in a string.

Full documentation is available at the zerodep.app page.

Examples

All @zerodep packages support both ESM and CJS.

import { addressDirectional } from '@zerodep/address-directional';
// or
const { addressDirectional } = require('@zerodep/address-directional');

Use Case

addressDirectional('1234 Main Street East, Los Angeles CA, US');
//  [
//    {
//      directional: 'E',
//      source: 'East',
//      ndx: 17,
//      length: 4,
//    },
//  ]

/@zerodep/address-directional/

    Package Sidebar

    Install

    npm i @zerodep/address-directional

    Homepage

    zerodep.app

    Weekly Downloads

    1

    Version

    2.3.4

    License

    MIT

    Unpacked Size

    6.62 kB

    Total Files

    7

    Last publish

    Collaborators

    • cdepage