Giter Site home page Giter Site logo

0xf6 / lbs.ts Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 322 KB

Parse and convert ⚡️LBS to 🛰GPS Library for TypeScript

License: MIT License

TypeScript 100.00%
lbs geolocation position satellite communication mobile network location-based geometry geo

lbs.ts's Introduction

lbs.ts

Library for working with LBS 🌎 towers for TypeScript 🛰

Build Status Maintainability Dependencies MIT license codecov npm

Install

yarn add lbs.ts

Run test

yarn test or yarn test-nya and for reports yarn report-test

image

Usage

Get Geo Position (GPS) for LBS Tower

let lbs_str = "250/1/19E/DC6/-76dBm";
let lbs = TowerInfo.parse(lbs);

lbs // { CID: 3526, LAC: 414, MCC: 250, MNC: 1, RSSI: -76 }

await lbs.UpdatePosition()

lbs // 
{ 
  CID: 3526, 
  LAC: 414, 
  MCC: 250, 
  MNC: 1, 
  RSSI: -76, 
  position: GeoPosition { Longitude: 55.8146706, Latitude: 37.6919327 } 
}

lbs.ts's People

Contributors

0xf6 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

iqex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.