UNPKG

@bennjoe/hello-world

Version:

This is a package that prints the solution to Hello World in diffrent languages

36 lines (21 loc) 825 B
# 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 ```ts 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.😄