1.0.0 • Published 6 years ago

bordering-states v1.0.0

Weekly downloads
29
License
MIT
Repository
github
Last release
6 years ago

What is bordering-states

bordering-states is a module that allows you to search for all states that border the requested state

Install

npm install bordering-states

Usage

Basic

const borderingStates = require('bordering-states');
borderingStates('AL');

Include original state

const borderingStates = require('bordering-states');
borderingStates('AL', {inclusive: true});

Returns

['FL', 'GA', 'MS', 'TN']

Tests

To run the tests:

npm test
1.0.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago