number-to-excel-header
v1.0.1
Published
Convert number to Excel sheet column header
Downloads
645
Readme
NUMBER-TO-EXCEL-HEADER
Convert number to excel sheet column header
Install
npm install number-to-excel-header
Usage
import numberToExcelHeader from 'number-to-excel-header'
numberToExcelHeader(1); // A
numberToExcelHeader(2); // B
numberToExcelHeader(25); // Z
numberToExcelHeader(26); // AA
numberToExcelHeader(52); // BA