DEV Community

Daniël
Daniël

Posted on

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)