excel-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

excel-utils

npm-version Build Status dependencies dev dependencies peer dependencies

Some utilities if you're lucky enough to be programmatically working with spreadsheets.

Installation

node

npm install excel-utils

API

encodeColumn(column: string)

Returns the alphabetic column as a number. Useful for incrementing columns.

import {encodeColumn} from 'excel-utils';
 
encodeColumn('AA'); // => 27
decodedColumn(column: number)

Turns the numerically encoded column back in to the alphabetic representation.

import {decodeColumn} from 'excel-utils';
 
encodeColumn(27); // => 'AA'

Development

git clone https://github.com/darrinholst/excel-utils
cd excel-utils
npm install
npm test

Release

release-it [semver]

Readme

Keywords

Package Sidebar

Install

npm i excel-utils

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

9.59 kB

Total Files

13

Last publish

Collaborators

  • darrinholst