open-index/open-npm huggingface dataset:
npm package: @mayorscript/get-pixels
Description: Reads the pixels of an image as an ndarray
Author: Joseph Ayobami
Latest version: 3.4.2

get-pixels
==========
Given a URL/path, grab all the pixels in an image and return the result as an [ndarray](https://github.com/mikolalysenko/ndarray).  Written in 100% JavaScript, works both in browserify and in node.js and has no external native dependencies.

Currently the following file formats are supported:

* `PNG`
* `JPEG`
* `GIF`

Example
=======

```javascript
var getPixels = require("get-pixels")

getPixels("lena.png", function(err, pixels) {
  if(err) {
    console.log("Bad image path")
    return
  }
  console.log("got pixels", pixels.shape.slice())
})
```

Install
=======

    npm install get-pixels

### `require("get-pixels")(url[, type], cb(err, pixels))`
Reads all the pixels from url into an ndarray.

* `url` is the path to the file.  It can be a relative path, an http url, a data url, or an [in-memory Buffer](http://nodejs.org/api/buffer.html).
* `type` is an optional mime type for the image (required when using a Buffer)
* `cb(err, pixels)` is a callback which gets triggered once the image is loaded.

**Returns** An ndarray of pixels in raster order having shape equal to `[width, height, channels]`.

**Note** For animated GIFs, a 4D array is returned with shape `[numFrames, width, height, 4]`, where each frame is a slice of the final array.

Credits
=======
(c) 2013-2014 Mikola Lysenko. MIT License
npm package: @mayrlabs/core
Description: Core shared library and CLI for MayR Labs.
Author: MayR Labs
Latest version: 0.0.2

# @mayrlabs/core

Core shared library and CLI for MayR Labs.

## Installation

```bash
npm install @mayrlabs/core
```

## CLI Usage

```bash
npx @mayrlabs/core
# or
npx mayrlabs
```

## Features

- **Interactive CLI**: Access Github, Website, and Packages.
- **Shared Utilities**: Provides standard `introScreen` and brand constants.

## License

MIT
npm package: @mayrlabs/genesis
Description: Interactive CLI to setup project tools
Author: Aghogho Meyoron
Latest version: 1.0.0

# @mayrlabs/genesis

**Interactive CLI to fast-track your project setup.**

🚀 **Spin up a production-ready environment in seconds.**

Starting a new project often involves hours of repetitive configuration: setting up linting, formatting, git hooks, testing frameworks, and more. `@mayrlabs/genesis` automates this entirely.

Instead of copy-pasting `.eslintrc` files or manually installing dependencies, just run one command and let our interactive CLI handle the rest.

## Why use this?

- **Zero Config Fatigue**: No more wrestling with disparate config files. We provide sensible, battle-tested defaults.
- **Modern Stack Support**: Best-in-class support for the tools you actually use: Prettier, ESLint, Husky, Vitest, and more.
- **Interactive & Safe**: The CLI iterates with you. Pick exactly what you need. It even checks for a clean git state before making changes.

## Quick Start

Run the CLI in your project root:

```bash
npx @mayrlabs/genesis@latest
```

Follow the prompts to select your tools. That's it!

## What's Inside?

We support configuration for the following tools:

| Feature               | Description                                                        |
| :-------------------- | :----------------------------------------------------------------- |
| 🐶 **Husky**          | Robust git hooks to ensure quality before commits.                 |
| 💅 **Formatter**      | **Prettier** or **Biome** (coming soon) for consistent code style. |
| 🧹 **Linter**         | **ESLint** configured with modern best practices.                  |
| 🚫 **Lint-staged**    | Run linters/formatters only on changed files. Fast.                |
| 🌳 **Env Validation** | Type-safe environment variables with **@t3-oss/env**.              |
| 🧪 **Testing**        | Ready-to-go **Vitest** configuration.                              |
| ⚙️ **EditorConfig**   | Consistent coding styles between different editors.                |
| 📄 **License**        | Generate standard MIT, Apache, or ISC licenses instantly.          |

## Advanced Usage

### Configure Single Tool

Just need to set up one thing?

```bash
npx @mayrlabs/genesis configure husky
```

## Contributing

We love contributions! If you're looking to help improve this package (add new tools, fix bugs), please check out our [Contributing Guide](./CONTRIBUTING.md).

## License

MIT © [MayR Labs](https://mayrlabs.com)