« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js34
1 files changed, 34 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..e54418d
--- /dev/null
+++ b/index.js
@@ -0,0 +1,34 @@
+module.exports = {
+  ui: {
+    Dialog: require('./ui/Dialog'),
+    DisplayElement: require('./ui/DisplayElement'),
+    HorizontalBox: require('./ui/HorizontalBox'),
+    Label: require('./ui/Label'),
+    Pane: require('./ui/Pane'),
+    Root: require('./ui/Root'),
+    Sprite: require('./ui/Sprite'),
+    form: {
+      Button: require('./ui/form/Button'),
+      CancelDialog: require('./ui/form/CancelDialog'),
+      ConfirmDialog: require('./ui/form/ConfirmDialog'),
+      FocusBox: require('./ui/form/FocusBox'),
+      FocusElement: require('./ui/form/FocusElement'),
+      Form: require('./ui/form/Form'),
+      ListScrollForm: require('./ui/form/ListScrollForm'),
+      TextInput: require('./ui/form/TextInput')
+    }
+  },
+  util: {
+    ansi: require('./util/ansi'),
+    CommandLineInterfacer: require('./util/CommandLineInterfacer'),
+    count: require('./util/count'),
+    exception: require('./util/exception'),
+    Flushable: require('./util/Flushable'),
+    smoothen: require('./util/smoothen'),
+    telchars: require('./util/telchars'),
+    TelnetInterfacer: require('./util/TelnetInterfacer'),
+    unichars: require('./util/unichars'),
+    waitForData: require('./util/waitForData'),
+    wrap: require('./util/wrap')
+  }
+}