open-index/open-npm huggingface dataset:
npm package: @lontara/nestjs-firebase-admin
Description: NestJS Module for Firebase Admin SDK
Author: Prastowo Agung Widodo
Latest version: 4.0.1

<h1 align="center"></h1>

<div align="center">
  <a href="http://nestjs.com/" target="_blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
  </a>
</div>

<h3 align="center">NestJS Module for Firebase Admin SDK</h3>

<div align="center">
  <a href="https://nestjs.com" target="_blank">
    <img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
  </a>
</div>

# Installation

```bash
npm install @tfarras/nestjs-firebase-admin
```

## Import module

```typescript
import { Module } from '@nestjs/common';
import { FirebaseAdminModule } from '@tfarras/nestjs-firebase-admin'
import * as admin from 'firebase-admin'
 
@Module({
  imports: [
    FirebaseAdminModule.forRootAsync({
      useFactory: () => ({
        credential: admin.credential.applicationDefault()
      })
    }),
  ],
})
export class AppModule {}
```

# Example

## Inject FirebaseAdminSDK

```typescript
import { Injectable, Inject } from '@nestjs/common';
import { FIREBASE_ADMIN_INJECT, FirebaseAdminSDK } from '@tfarras/nestjs-firebase-admin';

@Injectable()
export class AppService {
  constructor(
    @Inject(FIREBASE_ADMIN_INJECT) private firebaseAdmin: FirebaseAdminSDK,
  ) {}

  getUsers() {
    return this.firebaseAdmin.auth().listUsers();
  }
}
```
npm package: @lonzo_hffp/eip2470-singleton-factory
Description: EIP2470 SingletonFactory
Author: lonzo
Latest version: 1.0.2

# eip2470-singleton-factory

本项目用于与 EIP-2470 Singleton Factory 进行交互，支持合约部署、地址计算等功能。

## Install

```bash
npm install @lonzo_hffp/eip2470-singleton-factory
# Or
yarn add @lonzo_hffp/eip2470-singleton-factory
```

## Usage

```typescript
import { getErc2470Factory, deployWith2470Factory } from '@lonzo_hffp/eip2470-singleton-factory';

// 获取 Singleton Factory 地址
const provider = new JsonRpcProvider('https://rpc.mevblocker.io')
const signgletonFactory = await getErc2470Factory(provider, false)

// 使用 Singleton Factory 部署合约
const bytecode = Contract.getDeployTransaction().data as string
const salt = keccak256(Buffer.from('salt', 'ascii'))
const tx = await deployWith2470Factory(signgletonFactory, bytecode, 'Contract Tag');
```

## 相关

- EIP-2470: https://eips.ethereum.org/EIPS/eip-2470

如需更多示例，请参考 `src/test/eip2470.test.ts`。
npm package: @lonzo_hffp/eip2470-singleton-factory-v5
Description: EIP2470 SingletonFactory for ethers v5
Author: lonzo
Latest version: 1.0.4

# eip2470-singleton-factory

本项目用于与 EIP-2470 Singleton Factory 进行交互，支持合约部署、地址计算等功能。

## Install

```bash
npm install @lonzo_hffp/eip2470-singleton-factory-v5
# Or
yarn add @lonzo_hffp/eip2470-singleton-factory-v5
```

## Usage

```typescript
import { getErc2470Factory, deployWith2470Factory } from '@lonzo_hffp/eip2470-singleton-factory-5';

// 获取 Singleton Factory 地址
const provider = new JsonRpcProvider('https://rpc.mevblocker.io')
const signgletonFactory = await getErc2470Factory(provider, false)

// 使用 Singleton Factory 部署合约
const bytecode = Contract.getDeployTransaction().data as string
const salt = keccak256(Buffer.from('salt', 'ascii'))
const tx = await deployWith2470Factory(signgletonFactory, bytecode, 'Contract Tag');
```

## 相关

- EIP-2470: https://eips.ethereum.org/EIPS/eip-2470

如需更多示例，请参考 `src/test/eip2470.test.ts`。
npm package: @lonzo_hffp/eip2470-singleton-factory-v6
Description: EIP2470 SingletonFactory
Author: lonzo
Latest version: 1.0.3

# eip2470-singleton-factory

本项目用于与 EIP-2470 Singleton Factory 进行交互，支持合约部署、地址计算等功能。

## Install

```bash
npm install @lonzo_hffp/eip2470-singleton-factory-v6
# Or
yarn add @lonzo_hffp/eip2470-singleton-factory-v6
```

## Usage

```typescript
import { getErc2470Factory, deployWith2470Factory } from '@lonzo_hffp/eip2470-singleton-factory-v6';

// 获取 Singleton Factory 地址
const provider = new JsonRpcProvider('https://rpc.mevblocker.io')
const signgletonFactory = await getErc2470Factory(provider, false)

// 使用 Singleton Factory 部署合约
const bytecode = Contract.getDeployTransaction().data as string
const salt = keccak256(Buffer.from('salt', 'ascii'))
const tx = await deployWith2470Factory(signgletonFactory, bytecode, 'Contract Tag');
```

## 相关

- EIP-2470: https://eips.ethereum.org/EIPS/eip-2470

如需更多示例，请参考 `src/test/eip2470.test.ts`。
npm package: @loofkid/svelte-loading-spinners
Description: Loading spinners using the svelte framework.
Author: Eric Schumertl
Latest version: 0.2.0

# svelte-loading-spinners

> collection of loading spinners with Svelte.js

## Installation

```bash
npm i --save-dev svelte-loading-spinners
```

or

```bash
yarn add -D svelte-loading-spinners
```

## Usage

```svelte
<Jumper size="60" color="#FF3E00" unit="px" duration="1s"></Jumper>

<script>
  import { Jumper } from 'svelte-loading-spinners'
</script>
```

## List of available spinners

Props: `size`, `color`, `unit` and `duration`.
The default props; `unit` is `px`, `color` is `#FF3E00` and `size` `60px`.

Notes:

`Circle2` has `colorOuter`, `colorCenter`, `colorInner` as props aswell.

`Circle3` has `ballTopLeft`, `ballTopRight`, `ballBottomLeft` and `ballBottomRight` as props aswell.

|      Loaders |
| -----------: |
|    BarLoader |
|      Chasing |
|       Circle |
|      Circle2 |
|      Circle3 |
| DoubleBounce |
|     Firework |
|    Jellyfish |
|       Jumper |
|        Pulse |
|      Rainbow |
|   RingLoader |
|     ScaleOut |
|       Shadow |
|     SpinLine |
|      Stretch |
|   SyncLoader |
|         Wave |
|       Square |
|         Moon |

## Demo

List of all spinner: [Demo](https://schum123.github.io/svelte-loading-spinners/)

## Development Setup
npm package: @loofkid/svelte-motion
Description: Svelte animation library based on the React library framer-motion.
Author: Michael Lucht
Latest version: 0.11.6

# Svelte Motion

An animation library based on [framer-motion](https://www.framer.com/motion/). 

[Visit Project Page](https://svelte-motion.gradientdescent.de)

## Installation

```bash
npm install --save-dev svelte-motion
```

## Usage

Corresponding to a `MotionDiv` in framer-motion is this:

```javascript
import { Motion } from 'svelte-motion'

<Motion let:motion><div use:motion/></Motion>
```
For svg elements like 'g', 'path' or 'circle', use:

```javascript
<Motion let:motion isSVG><g use:motion/></Motion>
```