1.0.5 • Published 2 years ago

@bennjoe/hello-world v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Hello World In Diffrent Langs

With this advanced package you can get how to print hello world in diffrent languages.

Installation

Simply run the command in your terminal:

npm install @bennjoe/hello-world

Usage

const helloWorld = require('@bennjoe/hello-world');

// returns the hello-world for c++
console.log(helloWorld('c++'));
// returns the hello-world for all languages supported
console.log(helloWorld('all'));

Supported languages

C++, C#, C, JavaScript, Java, TypeScript, Rust, Haskell, Elm, Elexir, Swift, Go, Clojure, Kotlin, Php, Python, Ruby, Scala

You can also pass in the parameter "all" to get all the languages in an array.

Contributors

All contributors are welcome!

Feel free to add more supported languages.😄