You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,10 @@ This module works almost exactly like the NodeJS [`console.table`](https://nodej
7
7
8
8
You can use the table function exactly like the NodeJS [`console.table`](https://nodejs.org/api/console.html#console_console_table_tabulardata_properties), but you must store the result as a string.
9
9
10
+
When using the web browser bundles, the module is available via the `nsTable` global.
Bundle `index.js` with Browserify in standalone mode, which should include a copy of the NodeJS `util` module to be used inside this module.
29
-
30
-
```bash
31
-
browserify index.js -o nsTable.js -s nsTable
32
-
```
31
+
Bundle `index.js` with Browserify in standalone mode, which should include a copy of the NodeJS `util` module to be used inside this module. The main bundle (`nsTable.js`) and an UglifyJS2 minified version (`nsTable.min.js`) will be saved to the `dist` directory.
33
32
34
-
You can just run the included NPM script which does the same:
33
+
You can just run the included NPM script which does this:
0 commit comments