News for hackers. Stuff that matters.
Re:Show HN: Transform a CSV into a JSON and vice versa by af3d on Thursday June 03, 2021 @01:40AM (#27377597)
Looks a bit like adware IMO. The library appears to be drenched in analytics. Dependencies include:

https://www.npmjs.com/package/web-vitals/v/0.1.0 https://www.npmjs.com/package/@fingerprintjs/fingerprintjs

Harvesting user's data, most likely...

Re:Show HN: Transform a CSV into a JSON and vice versa by okumurahata on Thursday June 03, 2021 @03:40AM (#27378264)
Author here; some clarification. I use fingerprint to get the number of visits (instead of using something invasive like Google Analytics):

https://github.com/erikmartinjordan/jsonmatic/blob/master/sr...

I get the fingerprint as a UID (which is like a random number for me). I don't harvest any user's data. Code is open-source, you can verify what I'm saying if you wish.

Re:Show HN: Transform a CSV into a JSON and vice versa by koolba on Thursday June 03, 2021 @06:29AM (#27379253)
Collecting usage statistics is harvesting data. This is a classic example of why you should never run random NPM modules. Or even install them as all of this is possible in a post install script too.

Putting analytics in a deployed app is your prerogative. Putting it in what touts itself as a reusable component is at best frowned upon.

Re:Show HN: Transform a CSV into a JSON and vice versa by okumurahata on Thursday June 03, 2021 @06:47AM (#27379349)
Ok, I see your point. I update the website.

This commit deletes any kind of data harvesting (removes fingerprint and visit counting):

https://github.com/erikmartinjordan/jsonmatic/commit/7f3fa89...

Re:Show HN: Transform a CSV into a JSON and vice versa by johndough on Thursday June 03, 2021 @09:42AM (#27381170)
web-vitals is still there. What is it used for? https://github.com/erikmartinjordan/jsonmatic/blob/f926f197b...
Re:Show HN: Transform a CSV into a JSON and vice versa by okumurahata on Thursday June 03, 2021 @10:44AM (#27382137)
It comes by default on React apps, it’s not used for anything.
Re:Show HN: Transform a CSV into a JSON and vice versa by Karliss on Thursday June 03, 2021 @02:37AM (#27377896)
It looks like there is some confusion of what it is. The content you see in linked page is the the software not a demonstration of how the library output looks. If it was a library taking in bytes and outputting bytes I would agree that it shouldn't depend on any analytics, but if it's a website that's more of authors choice.
Re:Show HN: Transform a CSV into a JSON and vice versa by ianschmitz on Thursday June 03, 2021 @02:21AM (#27377829)
There's nothing wrong with web-vitals...
Re:Show HN: Transform a CSV into a JSON and vice versa by hughcrt on Thursday June 03, 2021 @02:29AM (#27377864)
There's nothing wrong with web-vitals, and it's included in create-react-app, which the author used.
Re:Show HN: Transform a CSV into a JSON and vice versa by true_religion on Thursday June 03, 2021 @08:17AM (#27380150)
I agree, though for the sake of argument Facebooks tolerance for tracking and fingerprinting far exceeds anyone else’s on the internet so their stamp of approval for web vitals is meaningless.
Re:Show HN: Transform a CSV into a JSON and vice versa by croes on Thursday June 03, 2021 @02:56AM (#27377995)
But there is much wrong with finger printing.
Re:Show HN: Transform a CSV into a JSON and vice versa by MonaroVXR on Thursday June 03, 2021 @01:55AM (#27377678)
How did you figure this out?
Re:Show HN: Transform a CSV into a JSON and vice versa by lcabral on Thursday June 03, 2021 @02:11AM (#27377767)
The page has a link at the bottom to the GitHub project where you check the dependencies...
Re:Show HN: Transform a CSV into a JSON and vice versa by true_religion on Thursday June 03, 2021 @08:14AM (#27380119)
Yes but it’s not a library. It’s an entire website. It even uses Firebase.