open-index/open-npm huggingface dataset:
npm package: @microfox/puppeteer-sls
Description: Puppeteer SLS - Run puppeteer on a serverless function (AWS Lambda, etc.)
Latest version: 1.2.10

# Puppeteer SLS Provider

A simple and easy to use client for running Puppeteer on serverless functions.

## Installation

```
npm install @microfox/puppeteer-sls
```

## Usage

Import and initialize pupeteer.

```js
import { puppeteerLaunchProps } from '@microfox/puppeteer-sls';
import puppeteer from 'puppeteer-core';

(async () => {
  const launchProps = await puppeteerLaunchProps();
  const browser = await puppeteer.launch(launchProps);
  const page = await browser.newPage();
  await page.goto('https://www.google.com');
  await page.screenshot({ path: 'screenshot.png' });
  await browser.close();
})();
```

# todo.

1. save screenshot to s3 bucket & expose URL (in sls, create a cron that cleansup old screenshots.)
2. extractFormElements
3. fillInFormELements
4. extractButtons (with x,y position)
5. clickButton
6. tracking puppet usage
npm package: @microfox/reddit
Description: A TypeScript SDK for interacting with the Reddit API, providing functionalities for user data retrieval, search operations (users, posts, communities), post and comment processing, moderation, and comprehensive data access.
Latest version: 1.7.0

# Reddit TypeScript SDK

A TypeScript SDK for interacting with the Reddit API, providing functionalities for user data retrieval, search operations (users, posts, communities), post and comment processing, moderation, and comprehensive data access.

## Installation

```bash
npm install @microfox/reddit
```

## Environment Variables

The following environment variables are used by this SDK:

- `REDDIT_CLIENT_ID`: Your Reddit application's client ID. (Required)
- `REDDIT_CLIENT_SECRET`: Your Reddit application's client secret. (Required)
- `REDDIT_ACCESS_TOKEN`: The access token for authenticating requests. (Required)
- `REDDIT_REFRESH_TOKEN`: The refresh token obtained during initial authorization. (Required)
- `SCOPES`: A comma-separated list of scopes defining the permissions requested. (Required)

## Additional Information

To use this SDK, you need to obtain OAuth credentials from Reddit. Follow these steps:

1. Go to https://www.reddit.com/prefs/apps

2. Click on 'create app' or 'create another app' at the bottom

3. Fill in the required information:

   - Name: Your app's name

   - App type: Choose 'web app' for most cases

   - Description: Brief description of your app

   - About URL: Your app's website (if applicable)

4. Click 'create app'

5. You'll receive a Client ID and Client Secret. Keep these secure.

Environment variables:

- REDDIT_CLIENT_ID: Your Reddit application's client ID

- REDDIT_CLIENT_SECRET: Your Reddit application's client secret

To set up environment variables:

1. Create a .env file in your project root (if not already present)

2. Add the following lines to the .env file:

   REDDIT_CLIENT_ID=your_client_id_here

   REDDIT_CLIENT_SECRET=your_client_secret_here

3. Use a package like dotenv to load these variables in your application

Important notes:

- Reddit's OAuth implementation uses comma-separated scopes instead of space-separated

- Access tokens expire after 1 hour (3600 seconds)

- To get a refresh token, include 'duration=permanent' in the initial authorization request

- Rate limits: https://github.com/reddit-archive/reddit/wiki/API#rules

  - 60 requests per minute

  - OAuth2 clients may make up to 600 requests per 10 minutes

  - Monitor the X-Ratelimit headers in API responses for current limits and usage

For more detailed information, refer to the Reddit API documentation: https://www.reddit.com/dev/api/oauth
npm package: @microfox/remotion-render-lambda
Description: A TypeScript SDK for Remotion Render Lambda.
Latest version: 1.0.2

# Remotion Render Lambda

<!-- Add your project description here -->
A TypeScript SDK for Remotion Render Lambda.

## Installation

\`\`\`bash
npm install @microfox/remotion-render-lambda
\`\`\`

## Quick Start

\`\`\`typescript
import { RemotionRenderLambdaSdk } from '@microfox/remotion-render-lambda';

// Initialize the SDK
const sdk = new RemotionRenderLambdaSdk({
  apiKey: 'your-api-key',
  // Add other config options
});

// Example usage
const result = await sdk.hello('World');
console.log(result.data);
\`\`\`

## Configuration

\`\`\`typescript
interface RemotionRenderLambdaSdkConfig {
  apiKey: string;        // Required: Your API key
  baseUrl?: string;      // Optional: Custom base URL
  name?: string;         // Optional: SDK instance name
  version?: string;      // Optional: API version
}
\`\`\`

## Methods

### hello(name: string)

Example method - replace with your own API methods.

\`\`\`typescript
const result = await sdk.hello('World');
// Returns: { data: "Hello, World!", success: true, status: 200, message: "Success" }
\`\`\`

<!-- 
## TODO: Add your API documentation here

### getData(id: string)
\`\`\`typescript
const data = await sdk.getData('123');
\`\`\`

### createItem(item: object)
\`\`\`typescript
const result = await sdk.createItem({ name: 'Example' });
\`\`\`
-->

## Development

\`\`\`bash
# Install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Lint code
npm run lint
\`\`\`

## License

MIT