The act of converting content from its original format into a format capable of being displayed on the web
Manage Multiple WordPress Sites

JSON

JSON Category

csonv.js: fetch relational CSV data at client-side just like JSON

csonv.js is a tiny library to fetch relational CSV data at client-side just like JSON.

archan937 csonv.js GitHub 1310633892792 195x600 csonv.js: fetch relational CSV data at client side just like JSON

With keeping simplicity in mind, archan937 has created csonv.js which serves CSV data like JSON. He has chosen CSV because it’s very straightforward:

  • a file represents a certain entity (equivalent to database tables)
  • the CSV format is far less complex than the XML format
  • CSV files consists of columns and rows which resembles attributes and records respectively
  • there is no need to install extra software on the hosting server (unlike MySQL or SQLite databases)

Using the library is quite simple. You only need to include the js file inside your page and you’re able to use it.