Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ascii-pretty-table

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ascii-pretty-table - npm Package Compare versions

Comparing version 1.1.1 to 1.1.3

LICENSE

0

index.js

@@ -0,0 +0,0 @@ class Table {

7

package.json
{
"name": "ascii-pretty-table",
"version": "1.1.1",
"version": "1.1.3",
"description": "make a pretty table ",

@@ -24,3 +24,6 @@ "main": "index.js",

},
"homepage": "https://github.com/imranbarbhuiya/ascii-pretty-table#readme"
"homepage": "https://github.com/imranbarbhuiya/ascii-pretty-table#readme",
"devDependencies": {
"chai": "^4.3.4"
}
}
# ascii-pretty-table
A simple and light weight library for creating ASCII tables.
[ascii-pretty-table](https://www.npmjs.com/package/ascii-pretty-table), A simple and light weight library for creating ASCII tables.

@@ -28,11 +28,11 @@ ## Uses

```ascii
......................
+....................+
| A Title |
''''''''''''''''''''''
+''''''''''''''''''''+
| Column 1 | Column 2|
''''''''''''''''''''''
+''''''''''''''''''''+
| Row 1 | Row 2 |
''''''''''''''''''''''
+''''''''''''''''''''+
| Row 3 | Row 4 |
''''''''''''''''''''''
+''''''''''''''''''''+
```

@@ -45,3 +45,9 @@

```js
table.setSeparators({ top: ".", bottom: "'", edge: "|", fill: "-" });
table.setSeparators({
top: ".",
bottom: "'",
edge: "|",
fill: "-",
corner: "+",
});
```

@@ -52,5 +58,5 @@

- `name` - The name of the table.
- `setSeparator({edge, top, fill, bottom})` - Set the separator character.
- `setSeparator({top: ".", bottom: "'", edge: "|", fill: "-", corner: "+"})` - Set the separator character.
- `setHeading(heading1, heading2, ...)` - Set the headings.
- `addRow(row1, row2, ...)` - Add a row.
- `toString()` - Return the table as a string.

@@ -0,0 +0,0 @@ declare class Table {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc