0.1.5 • Published 6 years ago

stdio.js v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Easy IO

A simple framework to create simple input/output functions.

Installation/Usage

The intent is to provide users with a very easy setup process, an entire easy IO app could be contained in a single HTML file:

<!DOCTYPE html>
<html lang="en">
<head>
  <link rel=stylesheet href=https://cdn.jsdelivr.net/npm/primer@10.4.0/build/build.css>
  <title>stdio App</title>
  <script src="https://cdn.jsdelivr.net/npm/stdio.js/build/stdio-primer.min.js"></script>
  <script>
  stdio.title("My Cool Thing").add(
    {
      type: "textInput",
      name: "the input",
      label: "Type in right here"
    },
    {
      type: "output",
      link: "the input",
      transform: str =>
        str
          .split("")
          .reverse()
          .join("")
    }
  );
  </script>
</head>
<body>
</body>
</html>

That will create a nice looking interface where someone can input a sentence, and it will spit out the reverse of it.

License

This project is licensed under the MIT license please see the LICENSE file for more details.

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago