Skip to content

codal-umistri/json-to-tabular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-to-table-format

json-to-table-format is a lightweight npm module designed to convert JSON data into tabular format, making it easier to visualize and work with structured data.

Installation

You can install json-to-table-format via npm:

bash npm install json-to-table-format

Usage

Typescript

import jsontoTable from 'json-to-table-format';

const jsonData = [
  { id: 1, name: 'John', age: 30 },
  { id: 2, name: 'Jane', age: 25 },
];

const tabularData: string = jsontoTable(jsonData);
console.log(tabularData); 

Output

id     name     age                 
1      John      30          
2      Jane      25       

Features

  • Converts JSON data into tabular format.
  • Lightweight and easy to use.
  • Supports TypeScript.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published