Skip to content

How do I use this in the browser? #268

@Kurren123

Description

@Kurren123

Hi. How do I use this in the browser? I'm looking for a single js file I can add to a simple small html page using a <script> tag. I haven't installed requirejs or any other libraries yet, I just have a hard coded CSV string that I'd like as a json. I'm trying to keep things as simple as possible, without using webpack or bundling/minification. What I'm looking for:

<html>
    <head>
        <title>CSV to json example</title>
    </head>
    <body>
        <!-- csvtojson script here -->
        <script src="csvtojson.js"></script>
        <!-- my script -->
        <script src="script.js"></script>
    </body>
</html>

Thanks for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions