Skip to content

cityssm/node-fill-block-range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fill Block Range

NPM Version DeepSource codecov Code Smells

Fills in a range of letters, numbers, or "Battleship-like" letter-number combinations.

Installation

npm install @cityssm/fill-block-range

Usage

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']

Thanks

This package is made possible using two amazing packages.

Related Projects from the City of Sault Ste. Marie

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.

About

Fills in a range of letters, numbers, or "Battleship-like" letter-number combinations.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks