1.11.2 • Published 6 years ago

bouquet-js v1.11.2

Weekly downloads
35
License
-
Repository
github
Last release
6 years ago

Bouquet Javascript library

Universal Javascript library to use Bouquet API.
Exports in a UMD format it works either in the browser or node.js

Usage

Using the bouquet.js in an html page

<script src='../dist/bouquet.min.js'></script>

<script>
   var bouquet = new Bouquet({
       url : 'your-bouquet-url',
       clientId : 'your-bouquet-client-id',
       apiKey : 'your-api-key'
   });
   bouquet.request("your-bouquet-query")
   .then(function(response) {
       // do
   })
   .catch(function(error) {
       // error occurred
   });
</script>

Resources

Read the full tutorial
See the examples directory directory for some sample code

Scripts

  • npm run build - produces production (minified) version the dist folder
  • npm run dev - produces development version and runs a watcher
  • npm run test - runs the tests
  • npm run test:watch - runs the tests in a watch mode
1.11.2

6 years ago

1.11.1

6 years ago

1.11.0

7 years ago

1.9.0

7 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago