open-index/open-npm huggingface dataset:
npm package: @firestone-hs/retrieve-duels-global-stats
Description: ``` npm run build && sam local start-api
Latest version: 1.0.11

# Test it

```
npm run build && sam local start-api

curl -X POST http://127.0.0.1:3000/overwolf-OW_2c40f5f0-4b1c-476a-98c0-d6ac63508d4b
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/retrieve-pack-stats
Description: ``` npm run build && sam local start-api ```
Latest version: 1.0.2

# Test it

```
npm run build && sam local start-api
```

# Deploy

```
npm run build && npm run package && npm run deploy
rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/retrieve-users-duels-rewards
Description: ``` npm run build && sam local start-api
Latest version: 1.0.0

# Test it

```
npm run build && sam local start-api

curl -X POST http://127.0.0.1:3000/overwolf-OW_2c40f5f0-4b1c-476a-98c0-d6ac63508d4b
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/retrieve-users-duels-runs
Description: ``` npm run build && sam local start-api
Latest version: 1.0.3

# Test it

```
npm run build && sam local start-api

curl -X POST http://127.0.0.1:3000/overwolf-OW_2c40f5f0-4b1c-476a-98c0-d6ac63508d4b
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/save-dungeon-loot-info
Description: ``` sam local start-api ```
Latest version: 1.0.8

# Test it

```
sam local start-api
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/trigger-build-global-stats
Description: ``` npm run build && sam local invoke -t template.yaml -e event.json BuildGlobalStatsFunction ```
Latest version: 1.0.22

# Test it

```
npm run build && sam local invoke -t template.yaml -e event.json BuildGlobalStatsFunction
```

# Deploy

```
npm run build && npm run package && npm run deploy
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/trigger-build-match-stats
Description: ``` npm run build && sam local invoke -t template.yaml -e event.json BuildGlobalStatsFunction ```
Latest version: 1.0.21

# Test it

```
npm run build && sam local invoke -t template.yaml -e event.json BuildGlobalStatsFunction
```

# Deploy

```
npm run build && npm run package && npm run deploy
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/trigger-create-full-review
Description: ``` npm run build && sam local invoke -t template.yaml -e event.json PopulateGameSummaryFunction ```
Latest version: 1.0.27

# Test it

```
npm run build && sam local invoke -t template.yaml -e event.json PopulateGameSummaryFunction
```

# Deploy

```
npm run build && npm run package && npm run deploy
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/trigger-process-mercenaries-review
Description: ``` rm -rf dist && npm run build && npm run package && npm run deploy
Latest version: 1.0.10

# Deploy

```
rm -rf dist && npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access public

rm -rf dist && tsc && rm -rf dist/node_modules && 'cp' -rf dist/ /e/Source/zerotoheroes/firestone/core/node_modules/\@firestone-hs/trigger-process-mercenaries-review/

```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/twitch-presence
Description: ``` npm run build && sam local start-api ```
Latest version: 1.0.1

# Test it

```
npm run build && sam local start-api
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/user-bgs-post-match-stats
Description: ``` npm run build && sam local start-api ```
Latest version: 1.0.3

# Test it

```
npm run build && sam local start-api
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestore-emulator/jest
Description: This package contains a [`Jest`](https://jestjs.io/) environment for setup `@firestore-emulator/server`.
Author: Yuta Ura
Latest version: 0.3.15

# `@firestore-emulator/jest`

This package contains a [`Jest`](https://jestjs.io/) environment for setup `@firestore-emulator/server`.

## Installation

```sh
npm install @firestore-emulator/jest
```

## Usage

configure your `jest.config.js`:

```js
module.exports = {
  testEnvironment: '@firestore-emulator/jest/environment/node',
  // or "@firestore-emulator/jest/environment/quramy__jest-prisma" if you use prisma. you should install "@quramy/jest-prisma" too.
}
```

currently, other environments like `jsdom` are not supported yet.
if you need them, please open an issue.

if you use `TypeScript` you can also load `types` of your `tsconfig.json` from this package:

```json
{
  "compilerOptions": {
    "types": ["@firestore-emulator/jest"]
  }
}
```

then, you can use the `emulator` global in your tests:

```ts
import { initializeApp, App } from 'firebase-admin/app'
import { Firestore, initializeFirestore } from 'firebase-admin/firestore'

let firestore: Firestore
process.env['GCLOUD_PROJECT'] = 'test-project'
beforeAll(() => {
  // for firebase-admin, you need to set the environment variable `FIRESTORE_EMULATOR_HOST`
  process.env['FIRESTORE_EMULATOR_HOST'] = emulator.host
  const app = initializeApp()
  firestore = initializeFirestore(firestoreEmulator)
})

// you can clear the state of the emulator before each test
beforeEach(() => {
  emulator.state.clear()
})

it('something test you want', async () => {
  await firestore.collection('users').doc('alice').create({ name: 'Alice' })

  // you can snapshot test the state of the emulator
  expect(emulator.state.toJSON()).toMatchSnapshot()
})
```
npm package: @firestore-emulator/server
Description: This package is the implementation of the Firestore emulator. It is a Node.js
Author: Yuta Ura
Latest version: 0.3.15

# `@firestore-emulator/server`

This package is the implementation of the Firestore emulator. It is a Node.js

## Installation

```sh
npm install @firestore-emulator/server
```

## Usage

```ts
import { FirestoreServer } from '@firestore-emulator/server'

const server = new FirestoreServer()
await server.start(8080)
// now you can connect to the emulator at localhost:8080
```

## API

### `FirestoreServer`

#### `state`

The current state of the emulator.

see below: `FirestoreState`

### `FirestoreState`

### `toJSON()`

emits a JSON representation of the state.

for example, you can use the firestore data for snapshot testing:

```ts
expect(server.state.toJSON()).toMatchSnapshot()
```
npm package: @firestore-simple/admin
Description: A simple wrapper for Firestore Admin SDK
Author: Kenta Kase
Latest version: 7.0.8

# `@firestore-simple/admin`

FirestoreSimple for admin SDK

# :city_sunset: @firestore-simple/admin and @firestore-simple/web are ARCHIVED
Thank you for using `@firestore-simple/admin` and `@firestore-simple/web` to date. Unfortunately, I decided to end maintaining `@firestore-simple/admin` and `@firestore-simple/web`, so these do not support the new Firebase SDK v9.  
If you want to find another TypeScript friendly Firestore package, [Firebase Open Source](https://firebaseopensource.com/) will be helpful.

## Install
```
npm i @firestore-simple/admin
```

## Usage
See [README](https://github.com/Kesin11/Firestore-simple).

Also [example](./example) or [tests](./__tests__) are good sample.

## CHANGELOG
See [CHANGELOG](../../CHANGELOG) or [Releases](https://github.com/Kesin11/Firestore-simple/releases)

## Test
Unit tests are using [Firestore local emulator](https://firebase.google.com/docs/emulator-suite).

So if you want to run unit test in your local machine, start emulator in background before run test.

```bash
# setup monorepo
npm ci
npm run bootstrap

cd packages/admin

npm run emulators:start
npm run test
```

# License
MIT
npm package: @firestore-simple/web
Description: A simple wrapper for Firestore Web SDK
Author: Kenta Kase
Latest version: 7.0.8

# `@firestore-simple/web`

FirestoreSimple for web SDK

# :city_sunset: @firestore-simple/admin and @firestore-simple/web are ARCHIVED
Thank you for using `@firestore-simple/admin` and `@firestore-simple/web` to date. Unfortunately, I decided to end maintaining `@firestore-simple/admin` and `@firestore-simple/web`, so these do not support the new Firebase SDK v9.  
If you want to find another TypeScript friendly Firestore package, [Firebase Open Source](https://firebaseopensource.com/) will be helpful.


## Install
```
npm i @firestore-simple/web
```

## Usage
See [README](https://github.com/Kesin11/Firestore-simple).

Also [example](./example) or [tests](./__tests__) are good sample.

## CHANGELOG
See [CHANGELOG](../../CHANGELOG) or [Releases](https://github.com/Kesin11/Firestore-simple/releases)

## Test
Unit tests are using [Firestore local emulator](https://firebase.google.com/docs/emulator-suite).

So if you want to run unit test in your local machine, start emulator in background before run test.

```bash
# setup monorepo
npm ci
npm run bootstrap

cd packages/web

npm run emulators:start
npm run test
```

# License
MIT