I_Jemin

Publishing package

1 +
2 +module.exports.add = function(a, b) { return a + b};
3 +
1 +{
2 + "name": "lion-lib-just-hello-npm",
3 + "version": "1.0.0",
4 + "description": "",
5 + "main": "index.js",
6 + "scripts": {
7 + "test": "echo \"Error: no test specified\" && exit 1"
8 + },
9 + "keywords": [],
10 + "author": "",
11 + "license": "ISC"
12 +}
1 +var lion = require('lion-lib-just-hello-npm');
2 +var result = lion.add(1,2);
3 +console.log(result);
1 +
2 +module.exports.add = function(a, b) { return a + b};
3 +
1 +{
2 + "_from": "lion-lib-just-hello-npm",
3 + "_id": "lion-lib-just-hello-npm@1.0.0",
4 + "_inBundle": false,
5 + "_integrity": "sha512-5uqpPMNId2/i9zX+2yk+iXLSRD2deurc6Fr4fIAFCxYQccVQJmQ4Gjnm1DeHSNLD5ZEMC6GUDLX8Nd62vinN+A==",
6 + "_location": "/lion-lib-just-hello-npm",
7 + "_phantomChildren": {},
8 + "_requested": {
9 + "type": "tag",
10 + "registry": true,
11 + "raw": "lion-lib-just-hello-npm",
12 + "name": "lion-lib-just-hello-npm",
13 + "escapedName": "lion-lib-just-hello-npm",
14 + "rawSpec": "",
15 + "saveSpec": null,
16 + "fetchSpec": "latest"
17 + },
18 + "_requiredBy": [
19 + "#USER",
20 + "/"
21 + ],
22 + "_resolved": "https://registry.npmjs.org/lion-lib-just-hello-npm/-/lion-lib-just-hello-npm-1.0.0.tgz",
23 + "_shasum": "679bdb0d88236b32575dab4b7c6334649deb1a49",
24 + "_spec": "lion-lib-just-hello-npm",
25 + "_where": "/Users/jeminlee/git-projects/node-practice/node-app",
26 + "author": "",
27 + "bundleDependencies": false,
28 + "deprecated": false,
29 + "description": "",
30 + "keywords": [],
31 + "license": "ISC",
32 + "main": "index.js",
33 + "name": "lion-lib-just-hello-npm",
34 + "scripts": {
35 + "test": "echo \"Error: no test specified\" && exit 1"
36 + },
37 + "version": "1.0.0"
38 +}
1 +{
2 + "requires": true,
3 + "lockfileVersion": 1,
4 + "dependencies": {
5 + "lion-lib-just-hello-npm": {
6 + "version": "1.0.0",
7 + "resolved": "https://registry.npmjs.org/lion-lib-just-hello-npm/-/lion-lib-just-hello-npm-1.0.0.tgz",
8 + "integrity": "sha512-5uqpPMNId2/i9zX+2yk+iXLSRD2deurc6Fr4fIAFCxYQccVQJmQ4Gjnm1DeHSNLD5ZEMC6GUDLX8Nd62vinN+A=="
9 + }
10 + }
11 +}