iim-alucas-rendu2

1.0.9 • Public • Published

Rendu Arthur LUCAS NPMJS

Installation

npm install iim-alucas-rendu2

How to use ?

this example is based on a React app

import myModule from 'iim-alucas-rendu2/src/index'

function ApiRequest(){

    const [festivals, setFestivals] = useState([]);

    myModule.getAllfestivals().then(data => {
        setFestivals(data);
    }).catch(error => {
        console.error('error')
    });

    console.log(festivals);
}

Here is a list of functions included by the module :

  • getAllRegions
  • getAllfestivals
  • filterFestivalsByQuery (take a string argument, to filter by department)
  • getFestivalSOrderByFieldASC
  • getFestivalSOrderByFieldDESC

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.90latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i iim-alucas-rendu2

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

5.95 kB

Total Files

7

Last publish

Collaborators

  • arthurlcs