1.0.0 • Published 5 years ago

excel-column-conversion v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Excel Column Conversion

This package provides the methods to convert between letters and number for Excel column. For example, A => 1 or 27 => AA.

Installation

npm install excel-column-conversion

Usage

Require this package in your module.

const {
    convertNumber, 
    convertLetters
} = require('excel-column-conversion')

const letters = convertNumber(32)   // 'AF'
const number = convertLetters('SQ') // 511