@achiga_jacoblee/simple-hello-world-example

a simple hello world example

Usage no npm install needed!

<script type="module">
  import achigaJacobleeSimpleHelloWorldExample from 'https://cdn.skypack.dev/@achiga_jacoblee/simple-hello-world-example';
</script>

README

simple-hello-world-example

A Simple Hello World Example Package

Installation

Install via NPM:

npm install simple-hello-world-example

Usage

javascript


var myApp = require("simple-hello-world-example");

myApp.printMsg(); // print and return " Hello World! " 

TypeScript


import * as myApp from 'simple-hello-world-example';

myApp.printMsg(); // print and return " Hello World! " 


License

This project is licensed under the terms of the MIT license.

Reference

https://medium.com/better-programming/create-and-publish-your-npm-package-node-module-in-just-10-minutes-4b91e30fe9d7