# @daohaus/profile-data

> Profile data provides a simple query to get data related to a single address. This could include an ENS and [Lens Protocol](https://lens.xyz/) profile data.

Latest version **0.5.5** (published 2025-03-03) · 0 weekly downloads

## Install

```sh
npm install @daohaus/profile-data
pnpm add @daohaus/profile-data
yarn add @daohaus/profile-data
bun add @daohaus/profile-data
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.5.5 |
| Published | 2025-03-03 |
| First published | 2022-11-24 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 25 |
| Maintainers | daohaus-protocol |

## Links

- npm: https://www.npmjs.com/package/@daohaus/profile-data
- Repository: https://github.com/HausDAO/monorepo
- Homepage: https://github.com/HausDAO/monorepo#readme
- Issues: https://github.com/HausDAO/monorepo/issues
- npm.io page: https://npm.io/package/@daohaus/profile-data

## Dependencies (10)

- [viem](https://npm.io/package/viem.md) 1.6.0
- [react](https://npm.io/package/react.md) 18.2.0
- [tslib](https://npm.io/package/tslib.md) 2.6.1
- [wagmi](https://npm.io/package/wagmi.md) 1.3.10
- [numbro](https://npm.io/package/numbro.md) 2.3.6
- [date-fns](https://npm.io/package/date-fns.md) 2.30.0
- [localforage](https://npm.io/package/localforage.md) 1.10.0
- [@daohaus/utils](https://npm.io/package/@daohaus/utils.md) 0.5.5
- [react-hook-form](https://npm.io/package/react-hook-form.md) 7.45.4
- [@daohaus/keychain-utils](https://npm.io/package/@daohaus/keychain-utils.md) 0.5.5

## Recent versions

- 0.5.5 (latest) — 2025-03-03
- 0.2.0-alpha.6 (alpha) — 2023-08-18
- 0.5.4 — 2024-10-29
- 0.5.3 — 2024-09-06
- 0.5.2 — 2024-06-14
- 0.5.1 — 2024-05-09
- 0.5.0 — 2024-05-03
- 0.4.5 — 2024-05-02
- 0.4.4 — 2024-03-29
- 0.4.3 — 2024-03-21
- 0.4.2 — 2024-01-26
- 0.4.1 — 2024-01-18
- 0.4.0 — 2024-01-17
- 0.3.3 — 2023-12-19
- 0.3.2 — 2023-11-10
- … 42 more at https://npm.io/package/@daohaus/profile-data/versions

## README

# @daohaus/profile-data

Profile data provides a simple query to get data related to a single address. This could include an ENS and [Lens Protocol](https://lens.xyz/) profile data.

### [View on NPM](https://www.npmjs.com/package/@daohaus/profile-data)

## Usage

### Installation

```bash
yarn add @daohaus/profile-data
```

### Requirements

This packages uses an rpc endpoint to get the ens name for an address. You should provide an ethereum mainnet rpc url.

### Examples

**How to fetch a profile by address**

```ts
import { getProfileForAddress } from '@daohaus/profile-data';

const profile = await getProfileForAddress({ address: '0x0address', rpcUri: 'https://some-rpc-endpoint.com' });
```

## Building

Run `nx profile-data:build` to build the library.

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