@shayharush/hello-world-npm1

Hello World NPM example

Usage no npm install needed!

<script type="module">
  import shayharushHelloWorldNpm1 from 'https://cdn.skypack.dev/@shayharush/hello-world-npm1';
</script>

README

Hello World NPM

This is an example project to see the minimal amount effort needed to publish to NPM.

Example CL Usage

Installation

npm install -g nimstall
nimstall -g hello-world-npm

Usage

In Your Source Code

import { helloWorld } from 'hello-world-npm';

console.log(helloWorld());

OR

import HelloWorldNPM from 'hello-world-npm';

console.log(HelloWorldNPM.helloWorld());

OR

import HelloWorldNPM from 'hello-world-npm';

console.log(HelloWorldNPM());

Command Line

hello-world-npm