open-index/open-npm huggingface dataset:
npm package: @lightningkite/rxjs-plus
Description: RxJs tools for binding data to HTML elements
Author: Lightning Kite
Latest version: 1.0.1

# RxJs Plus

A set of tools for working with RxJs and the DOM more conveniently.  Built to be extremely lightweight but still be a full equivalent to Android's [RxKotlin Plus](https://github.com/lightningkite/rxkotlin-plus).

## Contents

### Plus

Contains a bunch of direct extensions on Rx, including:

- `AnonymousSubject`, which allows you to construct a subject from a separate `Observer` and `Observable`
- `observerMap` and `observerMapMaybeWrite`, for mapping on the side of the `Observer`
- `mapReversible`, `mapSubject`, `mapSubjectMaybeWrite`, `mapSubjectWithExisting` for mapping whole subjects (useful for UI)
- Various other tools for manipulating `Subject`s.

### Binding

- `subscribeAutoDispose` operator, allowing for easy display the value of an `Observable` in a DOM element.  Automatically disposes when the DOM element is detached.
- `bind` operator, which creates a two-way binding between a `Subject` and various input elements.
- `showInX` operators, which render the contents of a changing list into a DOM element.

### Jsx Runtime

An optional package that allows you to use JSX to define views connected to Rx elements.

### Resources

Contains some tools for manipulating various resources across the board.

### Http

Some tools for making HTTP calls mirroring what RxKotlin Plus uses.  Also contains tools for parsing/serializing more complex elements rather than just JSON ones.

### View Generators

Tools for moving between various screens in a very simple way, based on the interface

```typescript
interface ViewGenerator {
    generate(dependency: Window): HTMLElement
}
```
npm package: @lightninglabs/lnc-core
Description: Type definitions and utilities for Lightning Node Connect
Author: Evan Kaloudis
Latest version: 0.3.6-alpha

# @lightninglabs/lnc-core

## Type definitions and utilities for Lightning Node Connect, leveraged by lnc-web and lnc-rn

## Install

`npm i @lightninglabs/lnc-core`

## Updating protos

First, update the service version under the `config` block in `package.json`.

eg.

```
"config": {
    "lnd_release_tag": "v0.14.2-beta",
    "loop_release_tag": "v0.17.0-beta",
    "pool_release_tag": "v0.5.5-alpha",
    "faraday_release_tag": "v0.2.5-alpha",
    "protoc_version": "3.15.8"
},
```

Then run the following commands:

```
# download schemas
yarn run update-protos
# format schemas
yarn run generate
```
npm package: @lightningpolar/litd-api
Description: Lightning Terminal gRPC client to interact with Lightning Labs `litd` daemon.
Author: Jamal James
Latest version: 0.16.0-alpha

# Description

Lightning Terminal gRPC client to interact with Lightning Labs `litd` daemon.

# Install

```sh
npm install @lightningpolar/litd-api
```

# Usage

```ts
import { LitClient, SessionType } from '@lightningpolar/litd-api';

(async () => {
  const client = LitClient.create({
    socket: '127.0.0.1:10029',
    macaroon: '<hex>', // ~/.lit/mainnet/lit.macaroon
    cert: '<hex>',     // ~/.lit/tls.cert
  });

  const status = await client.status.subServerStatus();
  console.log(status);

  const { sessions } = await client.sessions.listSessions();
  console.log(sessions);

  const { session } = await client.sessions.addSession({
    label: 'my session',
    sessionType: SessionType.TYPE_MACAROON_ADMIN,
    expiryTimestampSeconds: Math.floor(Date.now() / 1000) + 60 * 24 * 90, // in 90 days
    mailboxServerAddr: 'mailbox.terminal.lightning.today:443',
  });
  console.log(session?.pairingSecretMnemonic);
})();
```