Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / text-table / example / dotalign.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/text-table/example/dotalign.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/text-table/example/dotalign.js
new file mode 100644 (file)
index 0000000..2cea629
--- /dev/null
@@ -0,0 +1,9 @@
+var table = require('../');
+var t = table([
+    [ 'beep', '1024' ],
+    [ 'boop', '334.212' ],
+    [ 'foo', '1006' ],
+    [ 'bar', '45.6' ],
+    [ 'baz', '123.' ]
+], { align: [ 'l', '.' ] });
+console.log(t);