Fills in a range of letters, numbers, or "Battleship-like" letter-number combinations.
npm install @cityssm/fill-block-range
import fillBlockRange from '@cityssm/fill-block-range'
console.log(fillBlockRange('01', '10'))
// => ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10']
console.log(fillBlockRange('A1', 'C3'))
// => ['A1', 'A2', 'A3', 'B1', 'B2', 'B3', 'C1', 'C2', 'C3']
console.log(fillBlockRange('5A', '5D'))
// => ['5A', '5B', '5C', '5D']
This package is made possible using two amazing packages.
Sunrise Cemetery Management System (CMS)
- A web-based application to assist cemetery managers with managing their cemetery records.
- Uses
@cityssm/fill-block-range
to quickly generate blocks of burial sites.