Skip to content

WeLikeToCodeStuff/Example-Node-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Example Node Package

This is a great package to teach you how to create Node.js packages you can publish to NPM.

  • Edit package.json and make it fit your info

Making a function

module.exports.yourfunction = () => {
    return "Hello World"
}

Basic, Huh?

Making a NPM account

To publish a package you need a NPM account to make one type in terminal

npm adduser

Publishing your package

To publish your package open terminal in the project's folder and type npm publish

About

Use this if you wanna learn how to make a node package!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published