Initial commit for AgrarmonitorLib
This commit is contained in:
commit
17654a4def
4
.github/copilot-instructions.md
vendored
Normal file
4
.github/copilot-instructions.md
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
- [x] Projektstruktur erstellt: package.json, README.md, src/index.js, .github/copilot-instructions.md
|
||||
- [ ] Projekt an Git-Repository https://gitea.poettker-cloud.de/bjoernpoettker/AgrarmonitorLib.git pushen
|
||||
|
||||
Nächster Schritt: Initiales Git-Commit und Push zum Remote-Repository.
|
||||
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
||||
# AgrarmonitorLib
|
||||
|
||||
Node.js Bibliothek für Agrarmonitor.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install agrarmonitorlib
|
||||
```
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
const agrarmonitor = require('agrarmonitorlib');
|
||||
console.log(agrarmonitor.hello());
|
||||
```
|
||||
15
package.json
Normal file
15
package.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "agrarmonitorlib",
|
||||
"version": "1.0.0",
|
||||
"description": "Node.js library for Agrarmonitor",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"No tests specified\" && exit 0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.poettker-cloud.de/bjoernpoettker/AgrarmonitorLib.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT"
|
||||
}
|
||||
9
src/index.js
Normal file
9
src/index.js
Normal file
@ -0,0 +1,9 @@
|
||||
// AgrarmonitorLib Beispielcode
|
||||
|
||||
function hello() {
|
||||
return "Hallo von AgrarmonitorLib!";
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
hello
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user