@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

/@bharat_software_systems/csv_to_json/

    Package Sidebar

    Install

    npm i @bharat_software_systems/csv_to_json

    Weekly Downloads

    1

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    6.02 kB

    Total Files

    5

    Last publish

    Collaborators

    • blkhrt