# @axdspub/axiom-ui-data-services

> `npm run storybook`

Latest version **1.1.1-alpha.1** (published 2026-09-01) · 0 weekly downloads

## Install

```sh
npm install @axdspub/axiom-ui-data-services
pnpm add @axdspub/axiom-ui-data-services
yarn add @axdspub/axiom-ui-data-services
bun add @axdspub/axiom-ui-data-services
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; large bundle.

## Facts

| | |
|---|---|
| Version | 1.1.1-alpha.1 |
| Published | 2026-09-01 |
| First published | 2023-08-02 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 20.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | akbstone, srstsavage |

## Links

- npm: https://www.npmjs.com/package/@axdspub/axiom-ui-data-services
- npm.io page: https://npm.io/package/@axdspub/axiom-ui-data-services

## Dependencies (6)

- [d3](https://npm.io/package/d3.md) ^7.8.4
- [d3-dsv](https://npm.io/package/d3-dsv.md) ^3.0.1
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.17.21
- [@axdspub/axiom-maps](https://npm.io/package/@axdspub/axiom-maps.md) ^1.1.1-alpha.0
- [react-error-boundary](https://npm.io/package/react-error-boundary.md) ^6.0.0
- [@axdspub/axiom-ui-utilities](https://npm.io/package/@axdspub/axiom-ui-utilities.md) ^1.1.1-alpha.0

## Recent versions

- 1.1.1-alpha.1 (latest) — 2026-09-01
- 1.1.1-alpha.11 (alpha) — 2026-09-24
- 1.1.1-alpha.10 — 2026-09-23
- 1.1.1-alpha.9 — 2026-09-19
- 1.1.1-alpha.7 — 2026-09-18
- 1.1.1-alpha.6 — 2026-09-18
- 1.1.1-alpha.5 — 2026-09-17
- 1.1.1-alpha.4 — 2026-09-13
- 1.1.1-alpha.3 — 2026-09-08
- 1.1.1-alpha.2 — 2026-09-08
- 1.1.1-alpha.0 — 2026-09-01
- 1.1.0-alpha.3 — 2026-06-17
- 1.1.0-alpha.2 — 2026-06-17
- 1.1.0-alpha.1 — 2026-06-17
- 1.0.4 — 2026-01-15
- … 67 more at https://npm.io/package/@axdspub/axiom-ui-data-services/versions

## README

## Storybook

`npm run storybook`

## Local development

Be sure yalc is installed:

`npm i yalc -g`

Then

`yalc publish`

In consuming project:

`yalc add @axdspub/axiom-ui-data-services`

and if already exists:

`yalc update @axdspub/axiom-ui-data-services`

# Publish

```
npm login --scope=@axdspub
npm publish --dryrun
```

If all looks good

```
npm publish --access public
```



# Usage

## DataService
- Use `DataService` to make a single request
  ```
  const ds = new DataService({
    url:'https://oikos.axds.co/rest/context',
    type:'none',
  })

  const data = await ds.get()
  // use ds.destroy to cancel
  
  ```
- Extend `DataService`:
  - To implement a custom `makeUrl` function (provide example)
  - To implement a custom data format that isn't yet supported (provide example)


## RequestItem
- Includes a DataService for data and one for metadata
  
# Todo

- Explain types and creating urls
- Explain parsers
- Probably need to be able to pass in a parser
- Provide storybook examples
- Exclude unnecessary files from published version

---
_Source: https://npm.io/package/@axdspub/axiom-ui-data-services · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
