# @buddies/notion-lib

> Notion Lib for Buddies ===

Latest version **1.0.0** (published 2022-11-27) · 0 weekly downloads

## Install

```sh
npm install @buddies/notion-lib
pnpm add @buddies/notion-lib
yarn add @buddies/notion-lib
bun add @buddies/notion-lib
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-11-27 |
| First published | 2022-11-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 29.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Adrien Belminksy |
| Maintainers | belminksy |

## Links

- npm: https://www.npmjs.com/package/@buddies/notion-lib
- Repository: https://github.com/BuddiesEip/sdk
- Homepage: https://github.com/BuddiesEip/sdk#readme
- Issues: https://github.com/BuddiesEip/sdk/issues
- npm.io page: https://npm.io/package/@buddies/notion-lib

## Dependencies (1)

- [@notionhq/client](https://npm.io/package/@notionhq/client.md) ^2.2.2

## Recent versions

- 1.0.0 (latest) — 2022-11-27

## README

Notion Lib for Buddies
===

Examples
---

```tsx
import { Client } from '@notionhq/client'
import { BuddiesNotion } from '@buddies/notion-lib'

const client = new Client({
    auth: 'secret'
})

const buddies = new BuddiesNotion(client)

const chapters = await buddies.chapters.getAll()
const deliverables = await buddies.deliverables.getAll()
const events = await buddies.events.getAll()
const members = await buddies.members.getAll()
const memos = await buddies.memos.getAll()
const stories = await buddies.stories.getAll()

const storiesOfASpecificUser = await buddies.stories.getAll({
    filter: {
        property: 'Who',
        relation: {
            contains: 'user id'
        }
    }
})
```

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