open-index/open-npm huggingface dataset:
npm package: @metapair/serverless__eventmessagejs
Description: 1. Create a proto file in /eventmessage directory according to fixture 2. run `yarn build` , if no error *bundle.js* and *bundle.d.ts* will be generated in folder 3. run `yarn link` 4. Go to services/scrapers directory and run `yarn link @metapair/serverl
Latest version: 1.2.0-beta.1

### How to generate eventmessage

1. Create a proto file in /eventmessage directory according to fixture
2. run `yarn build` , if no error *bundle.js* and *bundle.d.ts* will be generated in folder
3. run `yarn link`
4. Go to services/scrapers directory and run `yarn link @metapair/serverless__eventmessagejs`
5. Go back to eventmessagejs and run `yarn publish` upon successfully updating the packages
npm package: @metaparticle/package
Description: Automated tooling for easy container images
Author: Brendan Burns
Latest version: 0.3.0


# Metaparticle/Package for JavaScript
Metaparticle/Package is a collection of libraries intended to 
make building and deploying containers a seamless and idiomatic
experience for developers.

This is the implementation for JavaScript (NodeJS).

## Introduction
Metaparticle/Package simplifies and centralizes the task of
building and deploying a container image.

Here is a quick example.

Consider this simple Javascript application:

```javascript
console.log('hello world!');
```

To containerize this application, you need to use the `@metaparticle/package` library and
the `containerize` wrapper function like this:

```javascript
const mp = require('@metaparticle/package');

mp.containerize(
	{
		repository: 'brendanburns',
	},
	() => {
        console.log('hello world');
	}
);
```

You can then compile this application just as you have before.
But now, when you run the application, instead of printing "Hello world", it first packages itself as a container, and
then (optionally) deploys itself inside that container.

## Tutorial
For a more complete exploration of the Metaparticle/Package for javascript, please see the [in-depth tutorial](../tutorials/javascript/tutorial.md).

### Use ACI

```javascript
const mp = require('@metaparticle/package');

mp.containerize(
    {
		repository: 'myrepo',
		publish: 'true',
		runner: 'aci',
		resourceGroup: 'myResourceGroup',
		subscriptionId: '00000000-0000-0000-0000-000000000000',
		public: 'true',
		ports: [80],
		clientId: '00000000-0000-0000-0000-000000000000',
		clientSecret: 'mykey',
		tenantId: '00000000-0000-0000-0000-000000000000'
    },
    () => {
        console.log('hello world');
    }
);
```
npm package: @metapasshq/msngr
Description: a tiny utility to post to user-provided webhooks without worrying about platforms built for [@metapass](https://github.com/metapass)
Author: Anoushk Kharangate
Latest version: 0.1.4

# @metapasshq/msngr

a tiny utility to post to user-provided webhooks without worrying about platforms built for [@metapass](https://github.com/metapass)

platforms supported:

- [ ] slack
- [x] discord
- [ ] telegram

won't be adding new platforms myself because of current commitments but feel free to create PR **with a working test** to get it merged :)


### 1. install:

```
npm install @metapasshq/msngr
```

or

```
yarn install @metapasshq/msngr
```

### 2. use

```ts
// import
import { send } from "@metapasshq/msngr";

// declaring webhook
const webhook = "https://discord.com/api/webhooks/987654321/abcdefghijklmnopqrstuvwxyz";

// send
await send(webhook, "Hello World!");
```


## contributing:
feel free to open PRs for any new feature/bug fixes

some things on the top of my head:
- [ ] integrate testing into workflows
- [x] support for rich embeds (maybe?)
- [ ] support for attachments (maybe?)
npm package: @metaphi/airwallet
Description: Metaphi Airwallet SDK
Latest version: 0.0.14

# `wallets`

> TODO: description

## Usage

```
const wallets = require('wallets');

// TODO: DEMONSTRATE API
```

## Development

To publish this package,

1. Update `package.json` with the version number.
2. Run `npm run build`.
3. Run `npm publish --access public`
npm package: @metaphi/airwallet-api
Description: Metaphi Airwallet API to add whitelabel, non-custodial wallets to dApps
Author: Akshata
Latest version: 0.0.4-alpha.3

# `airwallet-api`

> TODO: description

## Usage

```
const airwalletApi = require('airwallet-api');

// TODO: DEMONSTRATE API
```
npm package: @metaphor-xyz/ens-claim
Description: React hooks and components that help notify users to claim their $ENS airdrop.
Author: Metaphor
Latest version: 1.0.1

# ens-claim
This package provides React hooks and components helpful in notifying users of products that they have unclaimed $ENS tokens from the ENS DAO airdrop, and directing them to claim those tokens.

## Installation
`npm install --save @metaphor-xyz/ens-claim`

or

`yarn save @metaphor-xyz/ens-claim`

## Usage

### ENSClaimButton
The `ENSClaimButton` renders a button, if and only if the user's wallet as an open $ENS claim available, that when clicked shows a modal explaining how to claim the tokens.

```tsx
import { BaseProvider } from 'ethers';
import { ENSClaimButton } from '@metaphor-xyz/ens-claim';

function SomeComponent({ address, provider }: { address: string, provider: BaseProvider }) {
  return <ENSClaimButton
    address={address}
    provider={provider} // optional
    delegate='metaphor.xyz' // optional, ENS name for default delegate
  />;
}
```

![Claim ENS button](/images/button.png)
![Claim ENS modal](/images/modal.png)

### useENSClaim
If you would like to create your own button, the `useENSClaim` hook tells you whether or not an address has ENS tokens to claim.

```tsx
function SomeComponent() {
  const { hasClaim } = useENSClaim();

  if (!hasClaim) {
    return null;
  }

  // ... render notification
}
```

## License
MIT

## TODO
There are a few possible improvements for the library:

- Show the user their $ENS claim balance. This is very easy to do, but not sure if it's a good idea or not.
- Perform the claim in-place for the user. This wouldn't be very responsible to do without also implementing the Snapshot voting for constitution ratification, until that process is over at least.
npm package: @metaphor-xyz/eslint-config
Description: Standard ESLint config for Metaphor projects
Author: Metaphor
Latest version: 2.2.0

# @metaphorxyz/eslint-config
This package includes standard ESLint configurations for Metaphor projects.

## Usage
Install the package, and set it as the imported eslint config. The patch is necessary because of the way we handle dependencies relative to this project instead of requiring importing them all as peer dependencies on every Metaphor project.

```shell
> npm i --save-dev @metaphorxyz/eslint-config

or

> yarn add -D @metaphorxyz/eslint-config
```

```javascript
// .eslintrc.js
require("@metaphor-xyz/eslint-config/patch");

// Add your "extends" boilerplate here, for example:
module.exports = {
  extends: ['@metaphor-xyz/eslint-config'],
};
```
npm package: @metaphor-xyz/scaffold
Description: Linters, formatters, and generators for Metaphor projects
Author: Metaphor
Latest version: 1.3.1

# @metaphorxyz/scaffold
This package includes automations for linting, formatting, and generating for Metaphor projects.

## Usage
At the moment, the package's main artifact is a drop-in replacement for `eslint` that includes Metaphor's universal linting and formatting configuration. Just install it into a project and run the `eslint` binary as usual and it will just work. No `.eslintrc.json` needed!

```shell
> npm i --save-dev @metaphorxyz/config

or

> yarn add -D @metaphorxyz/config
```
npm package: @metaphor-xyz/ui
Description: UI components for Metaphor apps
Author: Metaphor
Latest version: 0.0.1

# Metaphor UI Library

## TODO
- [x] ThreeColumn layout
- [x] Stepper
- [x] Typography
- [x] NameWithLogo (for Stepper header)
- [x] ActionSelector
- [x] Button
- [ ] Navbar
- [ ] AccountBadge
- [ ] Add pre/post icon to Button
- [ ] Buttons in action selector should appear on hover
npm package: @metaphorjs/observable
Description: A javascript event system
Author: Ivan Kuindzhi
Latest version: 1.4.0

# MetaphorJs.lib.Observable
A javascript event system implementing multiple patterns: observable, collector and pipe.

[Docs](http://metaphorjs.com/js/observable/docs/index.html)

Observable:
```javascript
var Observable = require("metaphorjs-observable");
var o = new Observable;
o.on("event", function(x, y, z){ console.log([x, y, z]) });
o.trigger("event", 1, 2, 3); // [1, 2, 3]
```

Collector:
```javascript
var Observable = require("metaphorjs-observable");
var o = new Observable;
o.createEvent("collectStuff", "all");
o.on("collectStuff", function(){ return 1; });
o.on("collectStuff", function(){ return 2; });
var results = o.trigger("collectStuff"); // [1, 2]
```

Pipe:
```javascript
var Observable = require("metaphorjs-observable");
var o = new Observable;
o.createEvent("some-job", "pipe");
o.on("some-job", function(value){
    return value + value;
});
o.on("some-job", function(value){
    return value * value;
});

var result = o.trigger("some-job", 1); // 4
```
npm package: @metaphorlism/templates
Description: 📦🔥 Create a boilerplate with our packages.
Author: Metaphorlism
Latest version: 0.2.1

# Create boilerplate

📦🔥 Create a boilerplate with our packages. 

## Installation
Execute our package with this command.
```bash
npx @metaphorlism/templates
```

Choose your option with an arrow up/down.
```bash
? What project template would you like to use? (Use arrow keys)
- Options
```

> You can check out the templates in `dist/templates` folder.

Please just input your project name.  
The default is `metaphorlism_boilderplate`.
```bash
? Project name: (metaphorlism_boilderplate)
```
npm package: @metapic/eslint-config
Description: Standard ESLint configuration for Metapic projects.
Author: Daniel Stockhammer
Latest version: 1.1.1

# Metapic eslint-config

Standard [ESLint configuration](https://eslint.org/docs/latest/extend/shareable-configs) for Metapic projects. See [`index.ts`](./src/index.ts) for the specific rules.

👉 See also [metapic/prettier-config](https://github.com/metapic/prettier-config)

## Usage

Install the package:

```
pnpm add -D jiti eslint @metapic/eslint-config
```

Create an `eslint.config.mts` file:

```typescript
import metapic from '@metapic/eslint-config'
import { defineConfig } from 'eslint/config'
import globals from 'globals'

export default defineConfig({
  extends: [metapic.configs.recommended],
  languageOptions: {
    globals: {
      ...globals.node,
    },
  },
  rules: {
    // any overrides or rule customizations
  },
})
```
npm package: @metapic/nestjs-utils
Description: Utilities and helpers for Nest.js + TypeORM.
Author: Daniel Stockhammer
Latest version: 1.0.3

# nestjs-utils

Utility helpers for [Nest.js](https://nestjs.com/) projects. Comes with opinionated defaults for [TypeORM](https://typeorm.io/), [Swagger](https://docs.nestjs.com/openapi/introduction) and serialisation:

- Symbols (e.g. DTO property names) always **camelCase**.
- API JSON payload property names always **snake_case**.
- Database column names always **snake_case**.

See the [example app](./example) for a fully wired showcase of all features.

**Important**: Serialisation uses [class-transformer](https://github.com/typestack/class-transformer)/[class-validator](https://github.com/typestack/class-validator) (see [Nest.js docs](https://docs.nestjs.com/techniques/serialization)). You can use the following helpers for easy setup (see also [`example/src/app.module.ts`](./example/src/app.module.ts))

```ts
import { Module } from '@nestjs/common'
import { SERIALIZATION_INTERCEPTOR, VALIDATION_PIPE } from '@metapic/nestjs-utils'

@Module({
  providers: [SERIALIZATION_INTERCEPTOR, VALIDATION_PIPE],
})
export class AppModule {}
```

## Testing

All testing runs through the example app’s e2e suite: [example/test](example/test).
npm package: @metapic/prettier-config
Description: Standard Prettier configuration for Metapic projects.
Author: Daniel Stockhammer
Latest version: 1.0.3

# Metapic prettier-config

Standard [Prettier configuration](https://prettier.io/docs/sharing-configurations) for Metapic projects. See [`index.ts`](./src/index.ts) for the specific rules.

👉 See also [metapic/eslint-config](https://github.com/metapic/eslint-config)

## Usage

Install the package:

```
pnpm add -D jiti prettier @metapic/prettier-config
```

Create a `prettier.config.mts` file:

```typescript
import metapicConfig from '@metapic/prettier-config'

export default metapicConfig
```

Alternatively, if you want to override any of the default settings:

```typescript
import metapicConfig from '@metapic/prettier-config'
import { type Config } from 'prettier'

const config: Config = {
  ...metapicConfig,
  printWidth: 80,
  semi: true,
}

export default config
```