brasten / a1-notation

Work with A1 notation like "A1" or "A1:B2"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A1 notation

About

This library is for working with A1 notations such as "A1" or "A1:B2". The library is exported as a UMD module.

Install

npm i @flighter/a1-notation -d

Or

yarn add @flighter/a1-notation

Download

ES5.min(26 KB), ESNext.min(5 KB), UMD(22 KB)

What is the difference?

  • converter 1 or converter 2? The difference is in the algorithm of convertation. You can compare the first method with the second method.
  • "ES5" or "ESNext"? ES5 has already converted to ES5 standard with all needed polyfills. ESNext uses the original syntax of the code.
  • "UMD"? UMD - Unified Module Definition, more in Google.
  • ".min"? Minified version.
  • Default version in npm is UMD ESNext. This version is not transpiled and minified, so you need to transpile and minify it.

Initialization

import A1 from '@flighter/a1-notation';
// or
const A1 = require('@flighter/a1-notation');

API

Note: A1 string could be represented in any register. A1 === a1, A1:B2 === a1:b2 === A1:b2 === a1:B2

License

MIT

Changelog

The latest updates

About

Work with A1 notation like "A1" or "A1:B2"

License:MIT License


Languages

Language:JavaScript 62.6%Language:TypeScript 37.4%