Uploaded utils
This commit is contained in:
0
human_rights_greek.pdf
Normal file
0
human_rights_greek.pdf
Normal file
4
my-utils/index.js
Normal file
4
my-utils/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
module.exports = {
|
||||
foo: require('./lib/foo'),
|
||||
bar: require('./lib/bar')
|
||||
};
|
||||
3
my-utils/lib/bar.js
Normal file
3
my-utils/lib/bar.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function bar(x) {
|
||||
return x * 2;
|
||||
};
|
||||
3
my-utils/lib/foo.js
Normal file
3
my-utils/lib/foo.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function foo(x) {
|
||||
return x * 2;
|
||||
};
|
||||
5
my-utils/package.json
Normal file
5
my-utils/package.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "my-utils",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js"
|
||||
}
|
||||
Reference in New Issue
Block a user