Git Product home page Git Product logo

csv-js's People

Contributors

benediktseidl avatar bryant1410 avatar cygnyx avatar ismasan avatar jason-cooke avatar nleclerc avatar pchhetri avatar slyadams avatar squgeim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csv-js's Issues

Mind if I clean up and publish to npm?

I'd like to run this through a linter (fix == vs === ambiguities, missing semicolons, and a few other inconsistencies) and then publish it to npm.

Any objection?

Repo description link incorrect

The repo description links to http://gkindel.github.io/cxv-js/csv.html when it should probably point to http://gkindel.github.io/csv-js/csv.html

Absence of tags interferes with usage as bower dependency.

I'm using this lib as a bower dependency and commits pushed today have broken AMD support.
Problem is now i can't easily force a specific working version since the repo does not contain proper tags.

Please add tags and bump version number in bower.json accordingly.

Cannot import with webpack

When trying to use this library in a React project with Webpack, it fails to build and gives the following error:

229:20-27 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

The problem seems to be the way require is being used in CSV.stream and CSV.stream.json functions. For my use case, I only required the parse method so I have commented these parts of the code and everything works fine.

commas in quoted strings being treated as separate field

Hi,

I'm having an issue with commas enclosed inside quotes. The string is separated at the commas and treated as separate fields. According to the spec this shouldn't happen.

Example:

"one", "number two", 3
"two one", "number, two two ", 2.3

Would fail because of the comma in the quoted string in the second line

Support for ; separation

Hi

Thanks for making csv-js

Nordic versions of ms excel and friends uses ; as separator because , is used for decimals rather than . as in us (which if you ask me as a programmer, is stupid) :)

What do you think of allowing customization of which separator to use?

Thanks

CR line separators not handled

When the CSV has lines that are separated by a single CR, it does not seem to handle them correctly. Instead of detecting it as the end of line, it keeps parsing the start of the next token on the next line as part of the last token on the previous line.

Other delimiters

Thanks a lot for your parser. I took a look at the code and am under the impression that changing the delimiter takes more than changing this one setting. Is this correct? It would be nice to specify the delimiter, so we could also use this for tsv's

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.