# @tg-resources/core

> Abstractions on-top of `superagent` (or other Ajax libaries) for communication with REST.

Latest version **4.0.0** (published 2024-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tg-resources/core
pnpm add @tg-resources/core
yarn add @tg-resources/core
bun add @tg-resources/core
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2024-11-20 |
| First published | 2018-12-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 461.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Thorgate <hi@thorgate.eu> |
| Maintainers | thorgate-main, jyrno42, metsavaht |
| Keywords | api, request, http, ajax |

## Links

- npm: https://www.npmjs.com/package/@tg-resources/core
- Repository: https://github.com/thorgate/tg-resources
- Homepage: https://github.com/thorgate/tg-resources/tree/master/packages/core#readme
- Issues: https://github.com/thorgate/tg-resources/issues
- npm.io page: https://npm.io/package/@tg-resources/core

## Dependencies (3)

- [cookie](https://npm.io/package/cookie.md) >=0.3.1
- [@tg-resources/is](https://npm.io/package/@tg-resources/is.md) ^4.0.0
- [@tg-resources/route-template](https://npm.io/package/@tg-resources/route-template.md) ^4.0.0

## 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

- 4.0.0 (latest) — 2024-11-20
- 3.4.0-alpha.1 (next) — 2022-08-15
- 3.4.0-alpha.0 — 2022-08-15
- 3.2.0 — 2021-04-17
- 3.1.4 — 2020-02-10
- 3.1.3 — 2019-10-16
- 3.1.2 — 2019-03-04
- 3.1.1 — 2019-02-12
- 3.1.0 — 2019-01-31
- 3.1.0-beta.1 — 2019-01-11
- 3.1.0-beta.0 — 2018-12-31

## README

# `@tg-resources/core`

[![NPM version][npm-image]][npm-url]

## Installing

Using NPM

```sh
npm i tg-resources

# And resource backend
npm i @tg-resources/superagent

# Or
npm i @tg-resources/fetch
```

Or using Yarn

```sh
yarn add tg-resources

# And resource backend
yarn add @tg-resources/superagent

# Or
yarn add @tg-resources/fetch
```

For more information,
see [Configuration](https://github.com/thorgate/tg-resources/tree/master/README.md#configuration) and [Resource API](https://github.com/thorgate/tg-resources/tree/master/README.md#resource-api)

## License

MIT © [Thorgate](http://github.com/thorgate)

[npm-url]: https://npmjs.org/package/@tg-resources/core
[npm-image]: https://img.shields.io/npm/v/@tg-resources/core.svg?style=flat-square

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