FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

types · Issue #20 · Keyang/node-csvtojson · GitHub

types #20

Description

hi Keyang,

Is there a way to tell the parser how to convert a column type?
for example, i have this csv data:
name, timestamp, value
a.b.c.d.e.f, 1397434200, 1.82

yield this json:

[ { name: 'a.b.c.d.e.f', timestamp: '1397434200', value: '1.82' } ]

i would like that timestamp and value will be a number and not a string

thanks in advance,
Shay

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL