sylog 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/package.json +63 -0
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Sylog
|
|
4
|
+
|
|
5
|
+
_Sync system logs terminal clarity file durability_
|
|
6
|
+
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/sylog) [](https://www.npmjs.com/package/sylog)
|
|
10
|
+
|
|
11
|
+
Sylog is a lightweight Node.js system logging utility that syncs logs to terminal and file for real-time monitoring and persistent storage. Built for simplicity, sylog empowers servers, CLI apps, and microservices with clear, durable logs.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install sylog
|
|
17
|
+
# or
|
|
18
|
+
yarn add sylog
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import sylog from 'sylog';
|
|
25
|
+
|
|
26
|
+
sylog.info('Starting application');
|
|
27
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sylog",
|
|
3
|
+
"displayName": "Sylog",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"description": "Sync system logs terminal clarity file durability",
|
|
6
|
+
"private": false,
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/teneplaysofficial/omnijs.git",
|
|
10
|
+
"directory": "packages/sylog"
|
|
11
|
+
},
|
|
12
|
+
"bugs": "https://github.com/teneplaysofficial/omnijs/issues",
|
|
13
|
+
"author": "Sriman <136729116+TenEplaysOfficial@users.noreply.github.com>",
|
|
14
|
+
"funding": {
|
|
15
|
+
"type": "github",
|
|
16
|
+
"url": "https://github.com/sponsors/teneplaysofficial"
|
|
17
|
+
},
|
|
18
|
+
"license": "Apache-2.0",
|
|
19
|
+
"keywords": [
|
|
20
|
+
"sylog",
|
|
21
|
+
"system-log",
|
|
22
|
+
"logging",
|
|
23
|
+
"logger",
|
|
24
|
+
"terminal",
|
|
25
|
+
"file-log",
|
|
26
|
+
"node-logger",
|
|
27
|
+
"console-log",
|
|
28
|
+
"append-log",
|
|
29
|
+
"system-monitoring",
|
|
30
|
+
"debug",
|
|
31
|
+
"log",
|
|
32
|
+
"nodejs",
|
|
33
|
+
"server-logging",
|
|
34
|
+
"microservices"
|
|
35
|
+
],
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
39
|
+
"type": "module",
|
|
40
|
+
"main": "./dist/index.cjs",
|
|
41
|
+
"module": "./dist/index.js",
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"exports": {
|
|
44
|
+
".": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/index.d.ts",
|
|
47
|
+
"default": "./dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/index.d.cts",
|
|
51
|
+
"default": "./dist/index.cjs"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"test": "",
|
|
57
|
+
"build": "tsup"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"ansilory": "workspace:*"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {}
|
|
63
|
+
}
|