1.0.6 • Published 3 years ago

js-brainfuck v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago
const { brainfuck } = require("js-brainfuck");

const brainfuckCode = "++++++++[>++++++++<-]>."; // prints ASCII 64: @

const brainfuckOptions = {
    input: "", // Input. The , operator reads a single character from this every time it's called
    invalidCommandError: true // Whether or not to throw an error when an invalid command/operator is reached. (Default: false)

};
brainfuck(brainfuckCode, brainfuckOptions).then(output => {
    console.log(output); // Logs the output. In this case, the output will be "@"

});
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago