Initial commit for AgrarmonitorLib

This commit is contained in:
Björn Pöttker 2025-08-28 23:04:43 +02:00
commit 17654a4def
4 changed files with 44 additions and 0 deletions

4
.github/copilot-instructions.md vendored Normal file
View 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
View 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
View 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
View File

@ -0,0 +1,9 @@
// AgrarmonitorLib Beispielcode
function hello() {
return "Hallo von AgrarmonitorLib!";
}
module.exports = {
hello
};