@sk1ppi/hello-world-npm
v1.0.0
Published
A simple hello world npm package. This is a test package to learn how to create and publish npm packages.
Downloads
7
Readme
@sk1ppi/hello-world-npm
A simple hello world npm package. This is a test package to learn how to create and publish npm packages.
Install
To install the package, use the following command:
npm i @sk1ppi/hello-world-npm
Example
To use the package, use the following code example:
const {
HELLO_WORLD_STRING,
getHelloWorldAsString,
getHelloWorldAsArray,
} = require('@sk1ppi/hello-world-npm');
console.log(HELLO_WORLD_STRING);
// => Hello World!
console.log(getHelloWorldAsString());
// => Hello World!
console.log(getHelloWorldAsArray());
// => [ 'Hello', 'World!' ]
Testing
To run tests, use the following command:
npm run test
Contribute
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.