# bouquet-js

> Universal Javascript library for Bouquet API

Latest version **1.11.2** (published 2018-01-25) · 0 weekly downloads

## Install

```sh
npm install bouquet-js
pnpm add bouquet-js
yarn add bouquet-js
bun add bouquet-js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.11.2 |
| Published | 2018-01-25 |
| First published | 2017-03-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | obalbous, jtheulier, azog123, alefaut |
| Keywords | webpack, es6, bouquet, library, universal, umd, commonjs |

## Links

- npm: https://www.npmjs.com/package/bouquet-js
- Repository: https://github.com/openbouquet/bouquet-js
- Homepage: https://github.com/openbouquet/
- Issues: https://github.com/openbouquet/bouquet-js/issues
- npm.io page: https://npm.io/package/bouquet-js

## Dependencies (4)

- [urijs](https://npm.io/package/urijs.md) ^1.18.9
- [popsicle](https://npm.io/package/popsicle.md) ^9.1.0
- [es6-promise](https://npm.io/package/es6-promise.md) ^4.1.0
- [es6-object-assign](https://npm.io/package/es6-object-assign.md) ^1.1.0

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.11.2 (latest) — 2018-01-25
- 1.11.0 (next) — 2017-10-25
- 1.9.0 (beta) — 2017-06-20
- 1.11.1 — 2017-11-13
- 1.7.0 — 2017-05-12
- 1.6.0 — 2017-04-06
- 1.5.0 — 2017-03-28
- 1.4.0 — 2017-03-22
- 1.3.0 — 2017-03-21
- 1.2.0 — 2017-03-20
- 1.1.0 — 2017-03-17

## README

# 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

```html
<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](https://docs.openbouquet.io/docs/tutorials)  
See the [examples directory](examples) 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

---
_Source: https://npm.io/package/bouquet-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
