open-index/open-npm huggingface dataset:
npm package: @kenny4444/metaplex-js
Description: Metaplex JavaScript API
Author: Metaplex Maintainers
Latest version: 4.12.0

# @metaplex/js &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/metaplex/js/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@metaplex/js.svg?style=flat)](https://www.npmjs.com/package/@metaplex/js)

Metaplex JavaScript SDK

## Stability

[Stability: 1 - Experimental](https://docs.metaplex.com/stability)

> **In Development** - All interfaces are very likely to change very frequently.
Please use caution when making use of this library. Bugs or behavior changes may
surprise users when Experimental API modifications occur.

## Documentation

- [API Docs](https://metaplex-foundation.github.io/js)
- [Guides](https://docs.metaplex.com/sdk/js/getting-started)

## Community

Join our [Discussions](https://github.com/metaplex-foundation/js/discussions)

## Contributing
Visit [Contributing](CONTRIBUTING.md)

## Good First Issues

See the list of starter issues [here](https://github.com/metaplex-foundation/js/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
npm package: @kenny9/refine-firebase
Description: auth and data provider using Firebase for Refine.
Author: kenny9
Latest version: 1.0.2

### 
# Refine framework Firebase Authentication Provider
### 
This repository contains an implementation of a Firebase Authentication Provider for a React application using the Refine framework.

## Features

- User login with email and password
- User registration with email, password, and display name
- Password reset functionality
- Persistent login sessions
- User profile updates
- Email verification after registration

## Installation


1. Install the dependencies:

   ```
   npm i @kenny9/refine-firebase
   ```

2. Set up your Firebase project:

   - Go to the [Firebase Console](https://console.firebase.google.com/).
   - Create a new project or use an existing one.
   - Go to the Project Settings and add a new web app.
   - Copy the Firebase configuration and replace the placeholder in `firebaseConfig.ts`.

3. Configure Firebase Authentication:

   - Enable Email/Password authentication in the Firebase Console under Authentication > Sign-in method.

## Usage

1. Import the `FirebaseAuth` class and set up your authentication provider:

   ```typescript
   import { FirebaseAuth } from "./firebaseauth";
   import { authProvider } from "./authProvider";

   const firebaseAuth = new FirebaseAuth();
   const authProvider = firebaseAuth.getAuthProvider();
   ```

2. Use the authentication provider in your application:

   ```typescript
   import { Refine } from "@refinedev/core";
   import { authProvider } from "./authProvider";

   function App() {
     return (
       <Refine authProvider={authProvider}>
         {/* Your app components */}
       </Refine>
     );
   }
   ```

## FirebaseAuth Class

The `FirebaseAuth` class provides methods to handle various authentication tasks:

- `handleLogIn`: Logs in a user with email and password.
- `handleRegister`: Registers a new user with email, password, and optional display name.
- `handleLogOut`: Logs out the current user.
- `handleResetPassword`: Sends a password reset email.
- `handleUpdatePassword`: Updates the current user's password.
- `handleForgotPassword`: Sends a password reset email.
- `getUserIdentity`: Returns the current user's email and display name.
- `handleCheckAuth`: Checks if a user is authenticated.
- `getPermissions`: Returns the user's permissions.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
```
npm package: @kenny_castaneda/mux
Description: muxer in typescript
Latest version: 1.0.4

# mux

Process muxer written in TypeScript.

Allows configuration of installation, runtime, and clean up of individual processes. Built in menu allows tailing, restarting, and rebuilding of processes within a single terminal session.

Particularly useful for monorepo setups where you have to run frontend, backend, and infrastructure locally.

![usage](https://raw.githubusercontent.com/MrDiggles2/mux/main/docs/example.gif)

## Getting started

1. Install package

```
npm install @mrdiggles2/mux
```

2. Create a `mux.config.ts` at the root level of your project. Sample:

```typescript
import { MuxConfig } from '@mrdiggles2/mux/config';

const config: MuxConfig = {
  rootDir: __dirname,
  logPath: '.mux/logs',
  processes: [
    {
      name: 'long sleeper',
      run: {
        exec: 'sleep 1000',
      }
    }
  ]
};

export default config;
```

3. Execute `mux`

```
npx mux
```

## Configuration

Each process in `mux.config.ts` can be configured:

```typescript
...
{
  name: 'YOUR PROCESS NAME HERE',
  run: MuxCommand,
  install?: MuxCommand,
  cleanup?: MuxCommand,

}
```

Where `MuxCommand` takes the form:

```typescript
{
    exec: <Command to run in a separate process>;
    dir?: <Path to run `exec` from. Appended to provided `rootDir` in mux.config.ts>
    env?: {
      <Additional environment variables to run command with>
    }
}
```

Since `mux.config.ts` is a TypeScript file, you can also add dynamic configuration. Here is a more complete sample:

```typescript
import path from "path";
import { MuxConfig } from '@mrdiggles2/mux/config';

const dockerComposeFiles = [
  'docker-compose.yml',
  'docker-compose.local.yaml'
].map(file => path.join(__dirname, file));

const dcBin = `docker compose --ansi=always ` + dockerComposeFiles.map(file => `-f ${file}`).join(' ');

const config: MuxConfig = {
  rootDir: __dirname,
  logPath: '.mux',
  processes: [
    {
      name: 'docker-services',
      install: {
        exec: `${dcBin} up --build -d --remove-orphans --wait`
      },
      run: {
        // Run `up` here again to smoothly support restarts. Effectively a no-op
        // if the containers are already running
        exec: `${dcBin} up -d --remove-orphans --wait && ${dcBin} logs -f`
      },
      stop: {
        exec: `${dcBin} down`
      }
    },
    {
      name: 'nest-backend',
      install: {
        exec: 'npm ci',
        dir: 'backend',
      },
      run: {
        exec: 'npx nest --watch',
        dir: 'backend',
        env: {
          NODE_ENV: development
          ...<ENV VARS>
        },
      }
    },
    {
      name: 'react-frontend',
      install: {
        exec: `npm ci`,
        dir: 'frontend',
      },
      run: {
        exec: `npx react-scripts start`,
        dir: 'frontend',
        env: {
          FORCE_COLOR: '1'
          ...<ENV VARS>
        }
      }
    },
  ]
};

export default config;
```