1.0.6 • Published 5 years ago

js-brainfuck v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
5 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

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago