open-index/open-npm huggingface dataset:
npm package: @seedlib/webutils
Description: 常用的工具函数,帮助提高开发效率
Author: seed
Latest version: 1.0.0

常用的utils

**任意`JavaScript`环境中运行**: 支持`Node.js`、浏览器以及任意`JavaScript`框架

📦 安装

```bash
# npm
npm install wutilbox

# or yarn
yarn add wutilbox

# or pnpm
pnpm add wutilbox
```
npm package: @seedprotocol/feed
Description: Feed generation (RSS, Atom, JSON) for Seed Protocol
Author: Keith Axline
Latest version: 0.4.20

# @seedprotocol/feed

## Configuration

### Revoked attestations

Revoked attestations are excluded from feed queries by default. Items that have been unpublished (`item.unpublish()`) will not appear in feeds or discovery.

### Caching (dev mode)

In development (`NODE_ENV=development`), feed caching is **disabled by default** so you always see fresh content. Set `CACHE_ENABLED=true` to enable caching in dev. See `packages/feed/src/cache/README.md` for full cache configuration.

### Feed Item URLs (EASScan attestation links)

Item links in the feed can point to EASScan attestation pages. Set these environment variables:

- `FEED_ITEM_URL_BASE` - Base URL for attestation links. Item URLs use `{base}/attestation/view/{uid}`. Default: `https://easscan.org`. Set to override.
  - **Testnet**: `https://optimism-sepolia.easscan.org`
  - **Mainnet**: `https://easscan.org` (default)
- `FEED_ITEM_URL_PATH` - Path segment (default: `attestation/view`). Only used when `FEED_ITEM_URL_BASE` is set.
- `FEED_SITE_URL` - Site URL for fallback when `FEED_ITEM_URL_BASE` is unset (default: `https://seedprotocol.io`).

### Example .env

```bash
# Default: item links use https://easscan.org/attestation/view/{uid}
# Override for testnet:
FEED_ITEM_URL_BASE=https://optimism-sepolia.easscan.org
FEED_ITEM_URL_PATH=attestation/view
```

---

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.3.5. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.