behna

1.0.10 • Public • Published

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.

Package Sidebar

Install

npm i behna

Weekly Downloads

1

Version

1.0.10

License

MIT

Unpacked Size

4.76 kB

Total Files

4

Last publish

Collaborators

  • raitalharehman