@bennjoe/hello-world
Version:
This is a package that prints the solution to Hello World in diffrent languages
36 lines (21 loc) • 825 B
Markdown
With this advanced package you can get how to print hello world in diffrent languages.
Simply run the command in your terminal:
```
npm install @bennjoe/hello-world
```
```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'));
```
**C++, C
You can also pass in the parameter **"all"** to get all the languages in an array.
**All contributors are welcome!**
Feel free to add more supported languages.😄