0.0.7 • Published 4 years ago

svelte-yr-widget v0.0.7

Weekly downloads
9
License
MIT
Repository
-
Last release
4 years ago

svelte-yr-widget

Demo: widget

A simple widget for showing weather data from Yr.no.

Relevant API documentation: api.met.no

Install

With yarn $ yarn add svelte-yr-widget or npm: $ npm install svelte-yr-widget

Usage

    <script>
        import YrWidget from 'svelte-yr-widget';
    </script>

    <YrWidget 
        lat="59.8939529" 
        lon="10.6450361"
        place="Oslo" // optional
        locale="en_GB" // optional
    />

To run project locally

$ yarn
$ yarn dev

Dependency on YR Weather Symbols

To display weather symbols this app extracts all SVGs from YR Weather Symbols and matches these with the specification on weathericons.

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago