lutilsjs

1.1.2 • Public • Published

lutilsjs

Git: https://github.com/loitd/lutilsjs
NPM: https://www.npmjs.com/package/lutilsjs
Web: https://inneka.com

Installation

npm install --save lutilsjs
or
yarn add lutilsjs

Usage

View more here

Import

var lutils = require('lutilsjs');
or
var {print, getLocationId} = require('./index');

Calling

lutils.getWeatherFromLocation('vaannaam').then((wea)=>{
    lutils.print(wea); 
}).catch((e) => {
    lutils.print(e);
});

or
const woeid = getLocationId('hà nội');

Sample output

{ title: 'Hà Nội',
  parent: 'Vietnam',
  weather_state_name: 'Heavy Rain',
  applicable_date: '2019-06-25',
  min_temp: 26.68,
  max_temp: 35.120000000000005,
  the_temp: 31.41 }

/lutilsjs/

    Package Sidebar

    Install

    npm i lutilsjs

    Weekly Downloads

    4

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    6.49 kB

    Total Files

    6

    Last publish

    Collaborators

    • loitd