r/javascript • • Jan 06 '22

Faker.JS is dead. I created "BluffMaster"

https://www.npmjs.com/package/bluffmaster
0 Upvotes

16 comments sorted by

5

u/[deleted] Jan 06 '22 edited Jan 06 '22

Relevant explanation: https://youtu.be/d15DP5zqnYE

Edit: don’t feel sorry for this guy

1

u/luciferreeves Jan 06 '22

Yeah. I feel for him too. 😢

15

u/tedivm Jan 06 '22

This guy is not someone to feel sorry for. He made a ton of money with bitcoin, but his house burned down because he was building bombs inside it. Insurance doesn't cover making explosives it turns out. He lost access to his accounts because he was arrested. Also he beat his girlfriend.

0

u/[deleted] Jan 06 '22

[deleted]

0

u/G9366 Jan 07 '22

Plot twist: It wasn't him who committed the crimes

0

u/[deleted] Jan 06 '22

[deleted]

4

u/[deleted] Jan 06 '22

[removed] — view removed comment

0

u/[deleted] Jan 06 '22

[deleted]

0

u/iiMoe Jan 07 '22

I mean Bill Gates cheated on his wife and we still use Windows, just npm install and stfu

4

u/dylantestaccount Jan 06 '22

This seems pretty disingenuous to me. As far as I can see, you haven't added anything new to the existing codebase which you forked, only just released a renamed version.

4

u/luciferreeves Jan 07 '22 edited Jan 07 '22

I am constantly pushing new changes. Since, I forked it today only, it takes time to make changes (not deployed to NPM yet, though). Here's a small list:

- Fixed typos (and trust me there were a lot)

- Fixed testing functions (almost all of them were failing and now all are passing) - took me a lot of hours to fix the code as the code was outdated too. In order to write new test cases and make older ones pass, I had to modify around half of the core lib files.

- Fixed the generate bitcoin function. Also added a new big int datatype.

- Replaced fakercloud (faker was using it to generate random profile pictures and this also went down) by pravatar.

- Replaced jshint with eslint and fixed all linting errors.

- Coverage reports were not being generated, I fixed that too.

- And of course, I renamed it. I wanted something unique on NPM, I credited the original author though. Renaming also take a lot of time, unfortunately.

I am still fixing and adding new things.

6

u/WowSoWholesome Jan 06 '22

So you forked it?

5

u/luciferreeves Jan 06 '22 edited Jan 06 '22

Forked and updated to some unique name so that you don’t need to type npm i someuser/faker or npm i faker-js-community or something like that. Will continue to update this.

5

u/Is_Kub Jan 06 '22 edited Jan 06 '22

But you forked someone else’s fork and all you did was come up with a package name. Why should one use yours over the one you forked?

https://github.com/withshepherd/faker.js

2

u/luciferreeves Jan 06 '22

Yes. Rightly so. And I saw a lot of things don’t work. Fixed a few and hastily released 3 versions - big mistake. Now I switched to a different branch and I am fixing everything. Looks like the fork was created using some older archive. I’m not sure.

0

u/WowSoWholesome Jan 06 '22

Fair enough! Definitely value there

-14

u/luciferreeves Jan 06 '22

Please consider upvoting the post in that case and starring the repo too.

2

u/[deleted] Jan 07 '22

You created what? You basically forked it and now claiming it your own? Thats not how OSS works.

1

u/luciferreeves Jan 07 '22

I never claimed it to be my own. I forked and credited the original author in the very first line of my readme. Plus I did make a long list of changes before publishing, because the version I forked from was too old and I had to basically modify ~35 - 40% of the code. Here's a changelog I added: https://github.com/luciferreeves/blaver/releases/tag/v6.6.7