# @hoast/source-custom

> Allows you to provide your own custom source functions.

Latest version **3.1.0** (published 2024-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hoast/source-custom
pnpm add @hoast/source-custom
yarn add @hoast/source-custom
bun add @hoast/source-custom
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2024-02-11 |
| First published | 2020-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Ron Dekker |
| Maintainers | redkenrok |
| Keywords | hoast, source, custom |

## Links

- npm: https://www.npmjs.com/package/@hoast/source-custom
- Repository: https://github.com/hoast/hoast
- Homepage: https://github.com/hoast/hoast/tree/main/packages/source-custom#readme
- Issues: https://github.com/hoast/hoast/issues
- npm.io page: https://npm.io/package/@hoast/source-custom

## Dependencies (1)

- [@hoast/base-source](https://npm.io/package/@hoast/base-source.md) ^3.1.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 3.1.0 (latest) — 2024-02-11
- 3.0.0 — 2021-05-23
- 2.0.0 — 2020-10-06

## README

# @hoast/source-custom

Allows you to provide your own custom source functions. Extends base-source where the overridable functions can be provided via the options. Helps you from having to create a package for simple one-off behaviour.

## Install

```ZSH
npm install @hoast/source-custom
```

## Options

This package extends the [@hoast/base-source](https://github.com/hoast/hoast/tree/main/packages/base-source#readme) package. For more information on how to use this package see the options below as well as the base package.

- `{Function} initialize = null` Initialize function.
- `{Function} sequential = null` Sequential function.
- `{Function} concurrent = null` Concurrent function.
- `{Function} final = null` Final function.

- `{Number} logLevel = 2` Log level given to the [logger](https://github.com/hoast/hoast/tree/main/packages/utils#logger.js).

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