open-index/open-npm huggingface dataset:
npm package: @leftpad-rs/core
Description: Combine the blazingly fast speeds of Rust with your slow, inneficient JavaScript with this one-size-fits-all library
Latest version: 1.1.0

# **leftpad-rs**

Why bother making your own left padding function in like 2 minutes when you can instead download this awesome library that gives you the most **🔥 blazingly fast 🔥** left-padding code out there. Want to use TypeScript? You can! thanks to the amazing work the folks over at [napi-rs](https://napi.rs/) do!

If you haven't already, first [install Rust](https://www.rust-lang.org/tools/install), since this package relies on a rust binary to deliver those indredulously quick leftpads.

Install this package like so:

```bash
npm install @leftpad-rs/core
```

To use it, simply write:

```js
import { leftpad } from "@leftpad-rs/core";

console.log(leftpad("Hello World!", 5));
//     Hello World!
```

The function takes in three arguments:

- **input (required)**: The string to leftpad
- **length (required)**: The number of spaces to leftpad by, must be a positive number
- pattern: The pattern to repeat by, default is a whitespace " ", can be any string
npm package: @leftpad-rs/core-freebsd-x64
Description: This is the **x86_64-unknown-freebsd** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-freebsd-x64`

This is the **x86_64-unknown-freebsd** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-linux-arm-gnueabihf
Description: This is the **armv7-unknown-linux-gnueabihf** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-linux-arm-gnueabihf`

This is the **armv7-unknown-linux-gnueabihf** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-linux-arm64-musl
Description: This is the **aarch64-unknown-linux-musl** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-linux-x64-gnu
Description: This is the **x86_64-unknown-linux-gnu** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-linux-x64-musl
Description: This is the **x86_64-unknown-linux-musl** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-win32-arm64-msvc
Description: This is the **aarch64-pc-windows-msvc** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-win32-arm64-msvc`

This is the **aarch64-pc-windows-msvc** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-win32-ia32-msvc
Description: This is the **i686-pc-windows-msvc** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@leftpad-rs/core`
npm package: @leftpad-rs/core-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `@leftpad-rs/core`
Latest version: 1.1.0

# `@leftpad-rs/core-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@leftpad-rs/core`
npm package: @leftsquarebracket/minecraft-render
Description: Minecraft block/texture rendering with node.js and Python via JSPyBridge.
Author: object-Object
Latest version: 2.0.0-alpha.6

[![Rendered image](https://raw.githubusercontent.com/co3moz/minecraft-render/master/docs/soul_campfire_small.png)](https://github.com/co3moz/minecraft-render/blob/master/docs/soul_campfire.png)

minecraft-render
=======================

TODO: Update docs for minecraft-render-py.


Renders minecraft block models using `THREE.js`. 
Default output format is PNG `1000x1000`.


### Pre-rendered assets

You can find pre-rendered assets on Github Actions artifacts. By clicking the badge down below, you can access action list.

[![Render Test](https://github.com/co3moz/minecraft-render/actions/workflows/ci.yml/badge.svg)](https://github.com/co3moz/minecraft-render/actions/workflows/ci.yml)


### Headless render and CI

If you are automating generation process on github or similar CI environments, make sure you configured display server. `xvfb` can be used for this purpose.

```sh
sudo apt-get install xvfb
xvfb-run --auto-servernum minecraft-render ...
```


### Notes

<https://minecraft.fandom.com/wiki/Tutorials/Models#Block_states>

- Rework system
- Detach Jar from data reading (interface to provide info, allow for directory sources, or prioritized stacks)
- Incorporate blockstates to configure properly
- Rotate as needed (see: stairs etc)