DEV Community

Daniël
Daniël

Posted on

3

Pyprint - Print like you would in Python, but in Javascript

Today I decide to make one of the most useful and useless packages out there as a joke.

It's a package that makes it possible in Javascript to print as you would in Python, with that I mean:

print("Test!")

Will actually work in Javascript

const print = require('pyprint');

print('Test!');

Why did I make this? I made it due to the fact that it's sometimes a good exercise to make some stupid stuff that can make people laugh and you don't have to be always serious while coding.

You can simply install the package by using npm i pyprint or yarn add pyprint

NPM: https://www.npmjs.com/package/pyprint
Github Project: https://github.com/abcdan/pyprint

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay