sample node app

هذا الالتزام موجود في:
Chris Ayers
2022-04-06 16:48:53 +00:00
الأصل 388b6cde3d
التزام e81b2de78f
3 ملفات معدلة مع 17 إضافات و0 حذوفات

1
node-example/README.md Normal file
عرض الملف

@@ -0,0 +1 @@
# A sample Node app showing GitHub Actions

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
عرض الملف

@@ -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"
}