# business-elements

> JavaScript HTTP client for the Business Elements API.

Latest version **0.1.0** (published 2021-09-21) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install business-elements
pnpm add business-elements
yarn add business-elements
bun add business-elements
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-09-21 |
| First published | 2016-04-26 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Product Foundry |
| Maintainers | andrekampert, denny.leung |
| Keywords | business-elements, http, client, api |

## Links

- npm: https://www.npmjs.com/package/business-elements
- Repository: https://github.com/Product-Foundry/business-elements-client-js
- Homepage: https://github.com/Product-Foundry/business-elements-client-js#readme
- Issues: https://github.com/Product-Foundry/business-elements-client-js/issues
- npm.io page: https://npm.io/package/business-elements

## Dependencies (3)

- [isomorphic-fetch](https://npm.io/package/isomorphic-fetch.md) ^2.2.1
- [event-emitter-es6](https://npm.io/package/event-emitter-es6.md) ^1.1.5
- [event-source-polyfill](https://npm.io/package/event-source-polyfill.md) 0.0.9

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2021-09-21
- 0.0.121 — 2019-02-21
- 0.0.120 — 2019-01-31
- 0.0.119 — 2017-11-24
- 0.0.118 — 2017-11-16
- 0.0.117 — 2017-11-15
- 0.0.116 — 2017-11-02
- 0.0.115 — 2017-10-19
- 0.0.114 — 2017-10-05
- 0.0.113 — 2017-09-18
- 0.0.112 — 2017-09-09
- 0.0.111 — 2017-09-08
- 0.0.110 — 2017-09-06
- 0.0.109 — 2017-08-31
- 0.0.108 — 2017-07-10
- … 107 more at https://npm.io/package/business-elements/versions

## README

business-elements-client-js
===========================

[![License](https://img.shields.io/:license-Apache%202-red.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)
[![Build Status](https://travis-ci.org/Product-Foundry/business-elements-client-js.svg?branch=master)](https://travis-ci.org/Product-Foundry/business-elements-client-js)

A JavaScript HTTP Client for the [Business Elements](https://api.business-elements.com) API.

## Table of Contents

  - [Installation](#installation)
  - [Usage](#usage)

---

## Installation

In nodejs:

```
$ npm install business-elements --save
```

Then (ES6):

```js
import BusinessElementsClient from "business-elements";
```

Or (ES5):

```js
var BusinessElementsClient = require("business-elements").default;
```

Note that this HTTP client can be transparently used server side or in a regular browser page.

## Usage

A client instance is created using the `BusinessElementsClient` constructor, passing it the remote Business Elements server root URL:

```js
const client = new BusinessElementsClient("https://api.business-elements.com");
```

## Global usage

It is also possible to load the client from a global variable:

```js
var client = new BusinessElementsClient.default("https://api.business-elements.com");
```

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