sample node app
هذا الالتزام موجود في:
1
node-example/README.md
Normal file
1
node-example/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# A sample Node app showing GitHub Actions
|
4
node-example/index.js
Normal file
4
node-example/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
module.exports = function removespace(string) {
|
||||
if (typeof string !== "string") throw new TypeError("Meh! Enter a string!!");
|
||||
return string.replace(/\s/g, "");
|
||||
};
|
12
node-example/package.json
Normal file
12
node-example/package.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "@codebyte5/node-example",
|
||||
"version": "1.0.1",
|
||||
"description": "a sample package",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Chris Ayers",
|
||||
"license": "MIT"
|
||||
}
|
المرجع في مشكلة جديدة
حظر مستخدم