Skip to content

Add formatting options

Compare
Choose a tag to compare
@AjaiKN AjaiKN released this 26 Jan 01:35
· 92 commits to master since this release

Added

  • Added an optional third argument to Building.getDirections for formatting options. This allows you to specify whether the directions should be capitalized at the beginning of a line and whether there should be a period at the end of each sentence.

Fixed

  • Fixed a bug where Buildings with a single hallway produce directions that begin with a lowercase letter.

Other

  • Added tests
  • Added documentation on GitHub as homepage in package.json