@bharat_software_systems/csv_to_json

1.0.8 • Public • Published

CSV_TO_JSON

CSV_TO_JSON is a CSV to JSON converter.

Installation

Use this command to install the package.

npm i @bharat_software_systems/csv_to_json

Usage

var { reader } = require("@bharat_software_systems/csv_to_json") // Requiring package

app.post('/api/upload', upload.single('file'), async (req, res) => {
    const data = await reader(req.file.path) // Passing file path.
    return res.json({ data });
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @bharat_software_systems/csv_to_json

      Weekly Downloads

      2

      Version

      1.0.8

      License

      ISC

      Unpacked Size

      6.02 kB

      Total Files

      5

      Last publish

      Collaborators

      • blkhrt