instructively 1.0.2 → 1.0.4
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 +1 -26
- package/index.js +0 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
A simple hello world Node.js package for npm.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install instructionly
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```javascript
|
|
14
|
-
const instructionly = require('instructionly');
|
|
15
|
-
|
|
16
|
-
// Basic hello world
|
|
17
|
-
console.log(instructionly.hello()); // "Hello, World!"
|
|
18
|
-
|
|
19
|
-
// Hello with custom name
|
|
20
|
-
console.log(instructionly.helloWithName('John')); // "Hello, John!"
|
|
21
|
-
|
|
22
|
-
// Get package version
|
|
23
|
-
console.log(instructionly.getVersion()); // "1.0.0"
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## API
|
|
1
|
+
# API
|
|
27
2
|
|
|
28
3
|
### `hello()`
|
|
29
4
|
Returns a simple "Hello, World!" message.
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instructively",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A simple hello world Node.js package",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/yourusername/
|
|
21
|
+
"url": "git+https://github.com/yourusername/example.git"
|
|
22
22
|
},
|
|
23
23
|
"bugs": {
|
|
24
|
-
"url": "https://github.com/yourusername/
|
|
24
|
+
"url": "https://github.com/yourusername/example/issues"
|
|
25
25
|
},
|
|
26
|
-
"homepage": "https://github.com/yourusername/
|
|
26
|
+
"homepage": "https://github.com/yourusername/example#readme"
|
|
27
27
|
}
|