Skip to content

This is a basic hello world package. This is the first package I have made on this account. This is just a simple package, and it does not really have any purpose.

License

Notifications You must be signed in to change notification settings

JavascriptCat/helloworld-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this

This is a basic hello world package. This is the first package I have made on this account. This is just a simple package, and it does not really have any purpose.

-If you download this you're cool 😎😎

Installation

npm i helloworld-pkg-jscoder --save

Usage

To use this package, you make an html file, and do all the stuff you want to do in that file, but if you want one of your element's text to be "Hello World" just give it an id or class of "hello-world"

<p id="hello-world"></p>

In that example we are giving the paragraph element an id of "hello-world."

Next, in your javascript file, use the following.

import { helloworld } from 'helloworld-pkg-jscoder';

helloworld.createHelloWorld();

All you have to do now is run your "index.html" file or if you're using Node.js enter this into your terminal.

cd <path to your main javascript file>
node <main javascript file>

About

This is a basic hello world package. This is the first package I have made on this account. This is just a simple package, and it does not really have any purpose.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published