You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cellref

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cellref

Convert between cell reference styles (A1 notation & R1C1 notation)

4.0.0
latest
Source
npmnpm
Version published
Weekly downloads
14
-36.36%
Maintainers
1
Weekly downloads
 
Created
Source

cellref

Version Build Status Coveralls npm License

Convert between cell reference styles (A1 notation & R1C1 notation).

Installation

npm install --save cellref

Usage

Convert A1 to R1C1

const cellref = require('cellref')

cellref.toR1C1('BU59') // will return R59C73

Convert R1C1 to A1

const cellref = require('cellref')

cellref.toA1('R59C73') // will return BU59

Convert automatically based on the input

const cellref = require('cellref')

cellref('R59C73') // will return BU59
cellref('BU59') // will return R59C73

If an invalid cell reference (not A1 or R1C1 notation) is passed as an argument to any of cellref functions, an Error will be thrown.

Keywords

A1

FAQs

Package last updated on 04 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts