@flighter/a1-notation

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

Usage no npm install needed!

<script type="module">
  import flighterA1Notation from 'https://cdn.skypack.dev/@flighter/a1-notation';
</script>

README

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

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