Skip to content

kevinlui/bordering-states

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Maps out what states border each other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%