DEV Community

Setting up a `npx username` card!

Conlin Durbin on December 26, 2018

I recently saw this awesome post from bnb on Twitter: // Detect dark theme var iframe = document.getElementById('tweet-1075473070368919552-...
Collapse
 
worie profile image
Wojciech Połowniak

Thanks for a guide how to set it up. But I'm curious - perhaps someone can answer - what's the motivation behind this? I mean this seems like a bussinecards by-developers-for-developers, but how do you guys find it useful? You use npm package XYZ, check the author, and check his/hers bussines card like this? Because I suppose companies and recruiters will still favor other media to look for developers. It's cool and all but I probably don't understand its usecase fully.

Collapse
 
panta82 profile image
panta82

Yeah, I can't imagine HR people / recruiters typing anything in terminal as part of their workflow. Just an in-joke among developers, I guess.

Collapse
 
bnb profile image
Tierney Cyren

Made my day. Thank you for writing this, Conlin ❤️

Collapse
 
ben profile image
Ben Halpern

Made my day to see you show up to comment Tierney 😄

Collapse
 
bnb profile image
Tierney Cyren

❤️❤️❤️❤️❤️

Collapse
 
wuz profile image
Conlin Durbin

I loved the idea! Thanks for all you do for the community!

Collapse
 
asdofindia profile image
Akshay S Dinesh

How did running random code from the internet become a fad?

Collapse
 
lmorchard profile image
Les Orchard

Well, I mean, it's not any worse than the old curl | sh trick used for bunches of projects over the last decade or two. (Not that that trick is all that advisable, either.)

Collapse
 
roborich5 profile image
Rich Howell

My thoughts exactly.

Collapse
 
benenewton profile image
Ben Newton

This reminds me of cracked games on Apple //s back in the 80s. I think if you could run this at the end of a build script to show who built the package you’re using, we’re right back to the messages put in the splash screens of cracked games. This is pretty cool in that respect.

Collapse
 
wuz profile image
Conlin Durbin

Ooh I really like this idea. You could add a npm script to package.json that just runs this. Something like npm run author which could just call npx wuz or whatever your card is. I might start doing this!

Collapse
 
benenewton profile image
Ben Newton
Collapse
 
nickytonline profile image
Nick Taylor • Edited

Super fun article! I saw @bnb 's tweet but hadn't got around to making mine yet. Thanks for the instructions. The only thing I'd mention is enabling 2FA for your npm account if people are new to publishing to npm.

Looking forward to your next post!

Collapse
 
4rontender profile image
Rinat Valiullov

I made it too. Really cool! Thanks for article.

Collapse
 
lauragift21 profile image
Gift Egwuenu

Awesome post Conlin. Now I'm going to create mine 😁

Collapse
 
viniciuskneves profile image
Vinicius Kiatkoski Neves

Thanks! Really easy to follow and fun to play with :p

I would just suggest people to fork it to their on account and commit all the changes before publishing to NPM.

Collapse
 
depapp profile image
depa panjie purnama

thanks @bnb @wuz

Collapse
 
rbuitragoc profile image
Rick Buitrago

Though this could be really helpful to enrich the look and feel: unicode.org/emoji/charts/full-emoj...

Collapse
 
themindfuldev profile image
Tiago Romero Garcia

Thanks @wuz ! Just created mine!

Collapse
 
natashadecoste profile image
natashadecoste

✌️✌️ stuff like this is keeping coding cool ✌️✌️

Collapse
 
joelgregory11 profile image
Joel Gregory

I loved the idea! Thanks for all you do for the community!