echo-hello-world 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/index.js +5 -0
- package/package.json +15 -0
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# echo-hello-world
|
|
2
|
+
|
|
3
|
+
A simple package that prints Hello World to the console.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
yarn add echo-hello-world
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
const echoHelloWorld = require("echo-hello-world");
|
|
15
|
+
|
|
16
|
+
echoHelloWorld(); // prints "Hello World"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Publish
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
npm publish
|
|
23
|
+
```
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "echo-hello-world",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A simple package that prints Hello World to the console",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.js"
|
|
8
|
+
],
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git@github.com:huyleminh01/echo-hello-world.git"
|
|
12
|
+
},
|
|
13
|
+
"author": "huyleminh01",
|
|
14
|
+
"license": "MIT"
|
|
15
|
+
}
|