logroller 1.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/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "logroller",
3
+ "version": "1.0.0",
4
+ "description": "Zero-dependency rotating file stream for Node.js — daily/interval/size rotation, gzip archives, retention, timezone-aware, crash-safe resume",
5
+ "license": "MIT",
6
+ "author": "Vinau <>",
7
+ "homepage": "https://github.com/VinniWin/logroller#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/VinniWin/logroller.git"
11
+ },
12
+ "bugs": "https://github.com/VinniWin/logroller/issues",
13
+ "keywords": [
14
+ "log",
15
+ "logger",
16
+ "rotate",
17
+ "rotation",
18
+ "rotating-file",
19
+ "gzip",
20
+ "stream",
21
+ "daily-rotate",
22
+ "logrotate",
23
+ "writable"
24
+ ],
25
+ "type": "module",
26
+ "main": "./dist/index.cjs",
27
+ "module": "./dist/index.esm.js",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.esm.js",
32
+ "require": "./dist/index.cjs"
33
+ }
34
+ },
35
+ "files": [
36
+ "dist",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "engines": {
41
+ "node": ">=16.4"
42
+ },
43
+ "sideEffects": false,
44
+ "scripts": {
45
+ "build": "tsc -p tsconfig.json && rollup -c",
46
+ "test": "npm run build && node --test --experimental-strip-types test/rotate.test.ts",
47
+ "prepublishOnly": "npm test && npm run build",
48
+ "prepare": "npm run build"
49
+ },
50
+ "devDependencies": {
51
+ "@rollup/plugin-typescript": "^11.1.6",
52
+ "@types/node": "^22.10.0",
53
+ "rollup": "^4.27.0",
54
+ "typescript": "^5.6.3"
55
+ },
56
+ "dependencies": {
57
+ "tslib": "^2.8.1"
58
+ }
59
+ }