day-formatter

1.0.0 • Public • Published

DayFormatter

Convert days in an array to a concise human readable string.

created with node v7.7.4, and yarn 0.21.3

Usage

DayFormatter.formatDayRange([1,2,3,5,6,7]);
// => "Monday - Wednesday, Friday - Sunday"

Setup

  1. install dependencies: yarn
  2. (optional) install jasmine: yarn global add jasmine

Test

  • (jasmine) yarn run test

Readme

Keywords

none

Package Sidebar

Install

npm i day-formatter

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.66 kB

Total Files

5

Last publish

Collaborators

  • alexclink