lte-earfcn-calculator

0.2.99 • Public • Published

LTE EARFCN Calculator

npm version Build Status Coverage Status License: MIT

I'll renewal this project.

Javascript library for calculate EARFCN and Frequency. The main purpose is to convert EARFCN to Frequency or vice versa to calculate EARFCN using frequency and band.

한국어

Supported Band

1~52 (Rel 16 May 2018)

Install

npm install --save lte-earfcn-calculator

Example

Install before execute code.

Included example code in this library. Check this file. /src/example.js If you want to execute example try this node src/example.js

import LTE from "lte-earfcn-calculator";
 
let earfcn = 0;
let band = 1;
let frequency = 2110; // MHz
 
console.log(LTE.earfcnToFreq(earfcn)); // 2110.0
console.log(LTE.freqToEarfcnByBand(band, frequency)); // 0.0

Demo

Test

This project support unit test using mocha

npm test

Contribute

Now you can dive into the project! Welcome anything, such as add frequencies, add test case, edit typo!

Contributors

Reference

LICENSE

MIT

Package Sidebar

Install

npm i lte-earfcn-calculator

Weekly Downloads

9

Version

0.2.99

License

MIT

Unpacked Size

933 kB

Total Files

41

Last publish

Collaborators

  • qvil