# minecraft-seed-input

> Process seeds like Minecraft does and hash them if they are not number.

Latest version **1.1.1** (published 2026-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install minecraft-seed-input
pnpm add minecraft-seed-input
yarn add minecraft-seed-input
bun add minecraft-seed-input
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2026-01-18 |
| First published | 2024-10-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 22 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | me |
| Maintainers | tj-commits |
| Keywords | minecraft, seed |

## Links

- npm: https://www.npmjs.com/package/minecraft-seed-input
- Repository: https://github.com/10xly/minecraft-seed-input
- Homepage: https://github.com/10xly/minecraft-seed-input#readme
- Issues: https://github.com/10xly/minecraft-seed-input/issues
- npm.io page: https://npm.io/package/minecraft-seed-input

## Dependencies (22)

- [five](https://npm.io/package/five.md) ^0.8.0
- [numero](https://npm.io/package/numero.md) ^0.1.1
- [subtract](https://npm.io/package/subtract.md) ^0.0.3
- [uncurry-x](https://npm.io/package/uncurry-x.md) ^1.0.1
- [number-zero](https://npm.io/package/number-zero.md) ^1.0.3
- [numbertwenty](https://npm.io/package/numbertwenty.md) ^1.0.4
- [examplebyraji](https://npm.io/package/examplebyraji.md) ^1.0.0
- [function.call-x](https://npm.io/package/function.call-x.md) ^1.0.0
- [utf8-byte-length](https://npm.io/package/utf8-byte-length.md) ^1.0.5
- [construct-new-second](https://npm.io/package/construct-new-second.md) ^1.0.0
- [uncurried-intrinsics](https://npm.io/package/uncurried-intrinsics.md) ^1.0.3
- [@is-(unknown)/is-true](https://npm.io/package/@is-(unknown)/is-true.md) ^1.5.1
- [validate.io-less-than](https://npm.io/package/validate.io-less-than.md) ^1.0.2
- [es-logical-or-operator](https://npm.io/package/es-logical-or-operator.md) ^1.0.0
- [es-logical-and-operator](https://npm.io/package/es-logical-and-operator.md) ^1.0.0
- [es-logical-not-operator](https://npm.io/package/es-logical-not-operator.md) ^1.0.0
- [undefined-is-a-function](https://npm.io/package/undefined-is-a-function.md) ^0.1.0
- [@is-(unknown)/is-function](https://npm.io/package/@is-(unknown)/is-function.md) ^1.0.0
- [es-logical-optional-chaining](https://npm.io/package/es-logical-optional-chaining.md) ^1.0.0
- [@socketoverride/assert__call-bind](https://npm.io/package/@socketoverride/assert__call-bind.md) ^1.0.7-assert--call-bind
- [important-extremely-useful-classes](https://npm.io/package/important-extremely-useful-classes.md) ^3.1.0
- [es-logical-nullish-coalescing-operator](https://npm.io/package/es-logical-nullish-coalescing-operator.md) ^1.0.0

## Recent versions

- 1.1.1 (latest) — 2026-01-18
- 1.1.0 — 2026-01-18
- 1.0.0 — 2024-10-21

## README

# minecraft-seed-input

This function does what minecraft will do if you input a string in the seed input when creating a world: convert it to a number using an algorithm.

## Usage

```js
const seed = require("minecraft-seed-input")

console.log(seed()) // "[random]"
console.log(seed(1)) // 1
console.log(seed("somecoolseed")) // 1706390062
console.log(seed("creashaks organzine")) // 0
```

---
_Source: https://npm.io/package/minecraft-seed-input · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
