input

This package provides a single function, input, that prints a prompt and then reads a user’s input. Inspired by the Python function of the same name. It is intended to work on erlang, node, deno, and bun. This package has no dependencies, not even the stdlib.

Values

pub fn input(prompt prompt: String) -> Result(String, Nil)
Search Document