npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

emojiweather

0.1.0 • Public • Published

emojiweather Build Status js-standard-style

Get the closest emoji representation of the weather. This is a work in progress but is intended to handle string input from the majority of weather forecast provider APIs.

Installation

npm install --save emojiweather

Usage

var emojiweather = require('emojiweather')
 
emojiweather('partly-cloudy') // => '⛅ '
emojiweather('partly     ClOuDY') // => '⛅ '

License

MIT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander (@4lpine).


This package was initially generated with yeoman and the p generator.

Keywords

install

npm i emojiweather

Downloadsweekly downloads

3

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability