1.0.10 • Published 5 years ago

behna v1.0.10

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

behna

This package is about some cool funtions like

npm version License: MIT

Funtions

Installation

npm i behna

Example

import {getSize, existInThisRadius, Ellipsis} from 'behna';
console.log("getSize =",getSize(obj));
console.log("existInThisRadius =",existInThisRadius({ lat: 31.449865899999995, lng: 74.2968439 }, { lat: 31.5204, lng: 74.3587 }, 10));
console.log("Ellipsis =",<Ellipsis title="Ms Water Internship" limit="15" />);
let debounceCall = debounce(
  function() {
    alert("i am runnig");
  },
  1000,
  false
);
  <button onClick={() => debounceCall()}>debounce</button>
      <div>keep pressing button it will triger after you top pressing</div>
    

About

getSize tells size(Memory) of oj that existInThisRadius tells You location Exist in Radius or not

Params(myLocation,AreaLocation,km)
mylocation is my lat, lng 
AreaLocation is Region or City Like Lahore lat lng
km is Radius Size in Kilimeters 

Ellipsis will show ... in the end of line after given limit

<Ellipsis title="Ms Water Internship" limit="15" />

Edit Ellipsis

License

Behna is MIT licensed.

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago