open-index/open-npm huggingface dataset:
npm package: @funcblock/dapp-sdk
Description: ## DApp SDK
Latest version: 0.2.0

# @funcblock/dapp-sdk

## DApp SDK

SDK for Common DApp

- Constants
- Hooks
  - useFetch: fetch data from API
  - useLocalStorageState: extension of useState to store and retrive data from local storage
  - useQuery: read query from URL and parse the params
- Utils
  - formatAmount: format BigNumber into human-readable test
  - shorten: shorten address/hash by truncate leading and tailing characters
npm package: @funcdraw/fd-cli
Description: Command line interface for FuncDraw workspaces backed by the filesystem.
Latest version: 0.1.10

# fd-cli

Command line interface for running FuncDraw workspaces directly from filesystem folders that contain `.fs` expressions. The CLI walks folders, exposes them through FuncDraw's resolver, and can evaluate any expression tree.

## Installation

```bash
npm install -g @tewelde/fd-cli
```

Once installed globally you can invoke `fd-cli` from any FuncDraw workspace folder.

## Usage

```bash
fd-cli <package-folder> --expression <name> [options]
fd-cli <package-folder> <name> [view-name]
```

Arguments:

- `<package-folder>`: folder that contains `package.json` and `funcdraw.json` (defaults to `cwd`).
- `<name>`: FuncDraw module or expression name; do not pass file paths such as `main.fs`.

Key options:

- `-e, --expression <name>`: expression name using collection segments (e.g. `graphics/main`).
- `--view <name>`: optional view expression name; falls back to the built-in default viewport when omitted.
- `-f, --format <raw|svg|png>`: choose between JSON output, SVG markup, or PNG bitmap rendering.
- `-o, --out <file>`: write SVG/PNG output to a file (PNG uses `./fd-output.png` when omitted).
- `--width`, `--height`, `--padding`: configure render dimensions.
- `--font <filename>`: load a font from the workspace `fonts` folder (defaults to `default.ttf`; fd-cli bundles a monospace default based on Source Code Pro).
- `--time`, `--time-name`: control the injected FuncDraw time variable (seconds).
- `--list`: print all discovered expressions.

SVG output is printed to stdout when `--out` is omitted, while PNG output always writes to a file.
npm package: @funcional-health/apollo-server-dd-plugin
Description: Apollo Server plugin to send custom instrumentation to Datadog.
Latest version: 0.1.0

# Apollo Server Datadog Plugin

Custom Datadog instrumentation for Apollo Server.

## Installation

```sh
yarn add @funcional-health/apollo-server-dd-plugin
```

Then add the plugin to your NestJS GraphQL Module configuration:

```ts
import { Module } from '@nestjs/common';
import { GraphQLModule } from '@nestjs/graphql';
import { Logger } from '@nestjs/common';
import { dataDogTracePlugin } from '@funcional-health/apollo-server-dd-plugin';

@Module({
  imports: [
    // ...
    GraphQLModule.forRoot({
      // ...
      plugins.push(dataDogTracePlugin)
    }),
    // ...
  ],
})
export class AppModule {}
```