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)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay