2.1.4 • Published 2 years ago

@segment/a1-notation v2.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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 @segment/a1-notation -d

Or

yarn add @segment/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 '@segment/a1-notation';
// or
const A1 = require('@segment/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