Skip to content

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

License

Notifications You must be signed in to change notification settings

segmentio/a1-notation

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.2%
  • TypeScript 37.8%