@bennjoe/hello-world
v1.0.5
Published
This is a package that prints the solution to Hello World in diffrent languages
Readme
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-worldUsage
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.😄
