open-index/open-npm huggingface dataset:
npm package: @lenconda/generator-react-app
Description: A generator for generating React applications with Webpack
Author: lenconda
Latest version: 0.1.3

# @lenconda/generator-react-app

[![NPM version][npm-image]][npm-url]

> A generator for React APP with Webpack

## Installation

First, install [Yeoman](http://yeoman.io) and generator-react-app using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g @lenconda/generator-react-app
```

## Create Project

```bash
yo @lenconda/react-app
```

### Find a Template

Go to <https://github.com/lenconda?tab=repositories&q=yo-boilerplate-react->, find an appropriate template, and get the name without `yo-boilerplate-react-` prefix, and input into the CLI interface.

## License

MIT © [Lenconda](https://lenconda.top)

[npm-image]: https://badge.fury.io/js/generator-react-app.svg
[npm-url]: https://npmjs.org/package/generator-react-app
[travis-image]: https://travis-ci.com/lenconda/generator-react-app.svg?branch=master
[travis-url]: https://travis-ci.com/lenconda/generator-react-app
[daviddm-image]: https://david-dm.org/lenconda/generator-react-app.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/lenconda/generator-react-app
[coveralls-image]: https://coveralls.io/repos/lenconda/generator-react-app/badge.svg
[coveralls-url]: https://coveralls.io/r/lenconda/generator-react-app
npm package: @lenconda/generator-react-ssr
Description: A generator for server-side rendering with React and Webpack
Author: lenconda
Latest version: 0.3.5

# generator-react-ssr

[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Coverage percentage][coveralls-image]][coveralls-url]

> A generator for server-side rendering with React and Webpack.

Boilerplate [here](https://github.com/lenconda/generator-react-ssr).

## Installation

First, install [Yeoman](http://yeoman.io) and generator-react-ssr using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g generator-react-ssr
```

## Usage

### Generate the Main Project

```bash
yo @lenconda/react-ssr
```

### Generate a Page

```bash
yo @lenconda/react-ssr:page
```

### Generate a Server Route

```bash
yo @lenconda/react-ssr:route
```

## License

MIT © [lenconda](https://blog.lenconda.top)

[npm-image]: https://badge.fury.io/js/generator-react-ssr.svg
[npm-url]: https://npmjs.org/package/generator-react-ssr
[travis-image]: https://api.travis-ci.org/lenconda/generator-react-ssr.svg?branch=master
[travis-url]: https://travis-ci.com/lenconda/generator-react-ssr
[daviddm-image]: https://david-dm.org/lenconda/generator-react-ssr.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/lenconda/generator-react-ssr
[coveralls-image]: https://coveralls.io/repos/lenconda/generator-react-ssr/badge.svg
[coveralls-url]: https://coveralls.io/r/lenconda/generator-react-ssr
npm package: @lendai-us/cdk
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
Latest version: 0.0.5

# Cdk

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.

## Code scaffolding

Run `ng generate component component-name --project cdk` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project cdk`.
> Note: Don't forget to add `--project cdk` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build cdk` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build cdk`, go to the dist folder `cd dist/cdk` and run `npm publish`.

## Running unit tests

Run `ng test cdk` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @lendai-us/design-system
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
Latest version: 0.0.49

# DesignSystem

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.

# Connecting @lendai-us/design-system to your app

1. make sure all dependencies on `package.json` are align to the design-system package.
2. run `npm i lodash`
3. run `npm i -D @types/lodash`
4. run `npm i @lendai-us/cdk`
5. run `npm i @lendai-us/design-system`
6. add this code to the `style.scss` in your app to define your app colors:

```scss
   @use '@angular/material' as mat;
   @use '@lendai-us/design-system' as lai;
   @use 'sass:map';

      $design-system-theme: (
        'primary': lai.$prebuilt-purple,
        'info': lai.$prebuilt-blue,
        'error': lai.$prebuilt-red,
        'warning': lai.$prebuilt-orange,
        'success': lai.$prebuilt-green,
      );

      :root {
      @include lai.applyTheme($design-system-theme);
      }

      $mat-primary: lai.createPalette(map.get(lai.$prebuilt-purple, 500));
      $mat-warn: lai.createPalette(map.get(lai.$prebuilt-red, 500));
      $mat-theme: mat.define-light-theme(
        (
          color: (
            primary: mat.define-palette($mat-primary),
            accent: mat.define-palette($mat-primary),
            warn: mat.define-palette($mat-warn),
          ),
        )
      );

      @include mat.all-component-themes($mat-theme);
      @include mat.all-component-typographies();
      @include mat.core();
```

7. add this code to the `index.html` in your app to add fonts:
```html
  <link rel="preconnect" href="https://fonts.gstatic.com" />
  <link
      href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap"
      rel="stylesheet"/>
```

8. add assets to `angular.json`:
  - under `architect` -> `assets` add:
    "input": "node_modules/@lendai-us/design-system/assets",
    "output": "/assets/"
  - under `architect` -> `styles` add:
    "node_modules/flag-icons/css/flag-icons.min.css"

## Code scaffolding

Run `ng generate component component-name --project design-system` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project design-system`.
> Note: Don't forget to add `--project design-system` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build design-system` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build design-system`, go to the dist folder `cd dist/design-system` and run `npm publish`.

## Running unit tests

Run `ng test design-system` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @lendasat/lendaswap-sdk-native
Description: Lendaswap Client SDK - Native Node.js bindings with SQLite storage
Latest version: 0.1.77

# @lendasat/lendaswap-sdk-native

Native Node.js bindings for Lendaswap with SQLite storage.

## Overview

This package provides native Node.js bindings via [napi-rs](https://napi.rs/) for the Lendaswap client with SQLite
storage. It's designed for server-side applications, CLI tools, and backend services.

**Recommended:** Use this package through `@lendasat/lendaswap-sdk` with `.withSqliteStorage()` for a unified API across
browser and Node.js.

## Installation

```bash
# Install
pnpm add @lendasat/lendaswap-sdk-native
```

### Platform Support

Pre-built binaries are available for:

- macOS (x64, ARM64)
- Linux (x64, ARM64)
- Windows (x64)

## Usage (Recommended)

Use the main SDK with SQLite storage:

```javascript
import {Client} from "@lendasat/lendaswap-sdk";

const client = await Client.builder()
    .url("https://apilendaswap.lendasat.com")
    .network("bitcoin")
    .arkadeUrl("https://arkade.computer")
    .esploraUrl("https://mempool.space/api")
    .withSqliteStorage("./lendaswap.db")
    .build();

await client.init();

// Get available trading pairs
const pairs = await client.getAssetPairs();

// Get a quote
const quote = await client.getQuote("btc_lightning", "usdc_pol", 100000n);

// Create a swap
const swap = await client.createLightningToEvmSwap({
    target_address: "0xYourPolygonAddress",
    source_amount: 100000,
    target_token: "usdc_pol",
}, "polygon");
```

## Direct Usage (Advanced)

For advanced use cases, you can use the native SDK directly:

```javascript
import {
    SqliteStorageHandle,
    ClientBuilder,
} from "@lendasat/lendaswap-sdk-native";

const storage = SqliteStorageHandle.open("./lendaswap.db");
const client = new ClientBuilder()
    .storage(storage)
    .url("https://apilendaswap.lendasat.com")
    .network("bitcoin")
    .arkadeUrl("https://arkade.computer")
    .esploraUrl("https://mempool.space/api")
    .build();

await client.init();
```

## CLI Example

A full CLI example is available in `examples/nodejs/`:

```bash
cd client-sdk/examples/nodejs
pnpm install
node index.js help
```

Commands:

- `pairs` - List available trading pairs
- `tokens` - List available tokens
- `quote <from> <to> <amount>` - Get a quote
- `swap <from> <to> <amount> <address>` - Create and monitor a swap
- `swaps` - List stored swaps with transaction links
- `info` - Show wallet and API info

## Supported Tokens

| Token | Chain     | ID              |
| ----- | --------- | --------------- |
| BTC   | Lightning | `btc_lightning` |
| BTC   | Arkade    | `btc_arkade`    |
| BTC   | On-chain  | `btc_onchain`   |
| USDC  | Polygon   | `usdc_pol`      |
| USDT  | Polygon   | `usdt0_pol`     |
| USDC  | Ethereum  | `usdc_eth`      |
| USDT  | Ethereum  | `usdt_eth`      |

## Related Packages

- `@lendasat/lendaswap-sdk` - Main SDK with unified API for browser (IndexedDB) and Node.js (SQLite)

## License

MIT
npm package: @lendi-oss/ralph
Description: ralph is a CLI tool that automates security incident response
Latest version: 1.0.3

# Ralph

![](https://github.com/lendi-au/Ralph/workflows/Build/badge.svg)

Ralph is a CLI tool that automates security incident response on AWS.

It's the tool you use when this happens:
![Ralph](./img/ralph.jpg "Ralph")
npm package: @lendi/generator-cra
Description: Static app generator
Latest version: 2.0.0

# @lendi/generator-cra

A generator for static apps.

## Installation

```sh
yarn global add yo @lendi/generator-cra@latest
```

> You need to have `nodejs` and `yarn` installed first.

## Usage

🏃‍♀️ Run the generator:

```bash
yo @lendi/cra [directory]
```

> If you would like the files to be created in a different directory to your current working directory then you can specify the directory as an argument.

💬 Answer the questions:

```

     _-----_
    |       |    ╭──────────────────────────╮
    |--(o)--|    │   Welcome to the CRA     │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? Project name: (e.g. loans-dashboard) loans-dashboard
? Project description: (e.g. An app for the loans dashboard.) An app for the loans dashboard.

```

⏲ Wait for the files to be created and the dependencies to be installed.

🎉 DONE!
npm package: @lendi/generator-create-lui-component
Description: creates lui components and required files.
Latest version: 2.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @lendi/generator-create-lui-component

A generator for creating a LUI component in LUI repo.

## Installation

```sh
yarn global add yo @lendi/generator-create-lui-component@latest
```

> You need to have `nodejs` and `yarn` installed first.

## Usage

🏃‍♀️ Run the generator:

```bash
yo @lendi/create-lui-component [directory]
```

> If you would like the files to be created in a different directory to your current working directory then you can specify the directory as an argument.

💬 Answer the questions:

```

     _-----_     ╭──────────────────────────╮
    |       |    │      Welcome to the      │
    |--(o)--|    │   create-lui-component   │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 

? Package name: (e.g. text-input) text-input

```

⏲ Wait for the files to be created and the dependencies to be installed.

🎉 DONE!
npm package: @lendi/generator-nextjs
Description: Static site generator
Latest version: 3.0.0

# @lendi/generator-nextjs

A generator for static sites.

## Installation

```sh
yarn global add yo @lendi/generator-nextjs@latest
```

> You need to have `nodejs` and `yarn` installed first.

## Usage

🏃‍♀️ Run the generator:

```bash
yo @lendi/nextjs [directory]
```

> If you would like the files to be created in a different directory to your current working directory then you can specify the directory as an argument.

💬 Answer the questions:

```

     _-----_
    |       |    ╭──────────────────────────╮
    |--(o)--|    │   Welcome to the nextjs  │
   `---------´   │        generator!        │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? Project name: (e.g. loans-blog) loans-blog
? Project description: (e.g. A website for the loans blog.) A website for the loans blog.

```

⏲ Wait for the files to be created and the dependencies to be installed.

🎉 DONE!
npm package: @lendi/lendi-app-bridge
Description: Library to share state between micro frontends and lendi-app
Latest version: 3.2.0

# lendi-app-bridge

A library to bridge data between micro frontends and @lendi/lendi-app using localStorage

## Api

### class LendiAppBridge(prefix?: string, storage? = window.localStorage: Storage): LendiAppBridge

Returns an instance of a lendiAppBridge.

Example:

```js
import LendiAppBridge from '@lendi/lendi-app-bridge';

const bridge = new LendiAppBridge();
```

### LendiAppBridge#getFunnelOneApiData(): FunnelOneApiData

Gets FunnelOneApiData from localStorage

Example:

```js
import LendiAppBridge from '@lendi/lendi-app-bridge';

const bridge = new LendiAppBridge();

const funnelOneData = bridge.getFunnelOneApiData();
```

### LendiAppBridge#updateFunnelOneApiData(newData: FunnelOneApiData): void

Updates FunnelOneApiData in localStorage

Example:

```js
import LendiAppBridge from '@lendi/lendi-app-bridge';

const bridge = new LendiAppBridge();

const funnelOneData = bridge.getFunnelOneApiData();

const newFunnelOneData = { ...funnelOneData, security_value: 100 };

bridge.updateFunnelOneApiData(newFunnelOneData);
```

### LendiAppBridge#clearFunnelOneData(): void

Clears any data for funnel-one in localStorage

Example:

```js
import LendiAppBridge from '@lendi/lendi-app-bridge';

const bridge = new LendiAppBridge();

bridge.clearFunnelOneData();
```

### LendiAppBridge#getActiveApplicationSfId(): ActiveApplicationSfId | undefined

Gets ActiveApplicationSfId from localStorage or returns undefined if doesnt exist

Example:

```js
import LendiAppBridge from '@lendi/lendi-app-bridge';

const bridge = new LendiAppBridge();

const activeApplicationSfId = bridge.getActiveApplicationSfId();
```

### LendiAppBridge#updateActiveApplicationSfId(newData: ActiveApplicationSfId): void

Updates ActiveApplicationSfId in localStorage

Example:

```js
import LendiAppBridge from '@lendi/lendi-app-bridge';

const bridge = new LendiAppBridge();

bridge.updateActiveApplicationSfId('A-NEW-ID');
```
npm package: @lendi/serverless-utils
Description: Serverless CLI utilities
Author: Serverless, Inc.
Latest version: 3.1.0-beta1

# @serverless/utils

## Serverless CLI utilities

### Installation

```bash
npm install @serverless/utils
```

### Utilities

- [`analyticsAndNotificationsUrl`](docs/analytics-and-notifications-url.md)
- [`cloudformationSchema`](docs/cloudformation-schema.md)
- [`config`](docs/config.md)
- [`isInChina`](docs/is-in-china.md)
- [`log`](docs/log.md)
- [`processBackendNotificationRequest`](docs/process-backend-notification-request.md)
npm package: @lendinghome/react-number-format-input
Description: An input for numbers formatted by Intl.NumberFormat.
Author: dbrans@gmail.com
Latest version: 3.0.0

A numeric input that can be configured by an instance of [`Intl.NumberFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat).

See `/demo` for usage examples.

Tests are burried in the `/src` directory.
npm package: @lendinghome/react-pikaday
Description: A React component wrapper around Pikaday.
Author: Thomas Boyt
Latest version: 0.6.0

# react-pikaday

A component wrapper around [Pikaday](https://github.com/dbushell/Pikaday).

**[View Example](http://www.thomasboyt.com/react-pikaday/)**

## Importing

### Normal

If you're using Browserify, or want to bring a custom Pikaday stylesheet, just require this
component like any other module:

```javascript
var Pikaday = require('react-pikaday');
```

### Bundled

If you're using [webpack](http://webpack.github.io/) with a configured
[style-loader](https://github.com/webpack/style-loader) for CSS, you can actually require this
component along with the Pikaday CSS in one go:

```javascript
var Pikaday = require('react-pikaday/bundled');
```

## Usage

```javascript
/** @jsx React.DOM */
var React = require('react');
var Pikaday = require('react-pikaday');

var MyComponent = React.createClass({
  getInitialState: function() {
    return {
      date: null
    };
  },

  handleChange: function(date) {
    this.setState({
      date: date
    });
  },

  render: function() {
    var date = this.state.date;

    return (
      <div>
        <p>
          The date is {date.toDateString()}
        </p>
        <Pikaday value={date} onChange={this.handleChange} />
      </div>
    );
  }
});
```

## Properties

<table>
  <tr>
    <td><code>value</code></td>
    <td>A Date object to set the currently-displayed date to.</td>
  </tr>
  <tr>
    <td><code>onChange</code></td>
    <td>
      A callback called when the date is updated by the user. Passes a Date object as the first
      argument.
    </td>
  </tr>
  <tr>
    <td><code>valueLink</code></td>
    <td>
      Instead of manually hooking up value/onChange to a state variable, you can instead use
      <a href="http://facebook.github.io/react/docs/two-way-binding-helpers.html">LinkedStateMixin</a>
      to bind the two.
    </td>
  </tr>
</table>