0.3.0-beta.2 β’ Published 3 months ago
ilastlog v0.3.0-beta.2
iLastlog
π Desc
the lastlog command on Ubuntu 24.04.1 don't worked.
That's why I created this command.
π¦ Requirements
- Node.js:
>=20.11.1
(version tested: 20.11.1) - npm:
>=10.2.4
(version tested: 10.2.4) - Bash:
>=5.2.21
(version tested: 5.2.21) - Not supported Windows OS
β οΈ λ€λ₯Έ λ²μ μμλ μ μμ μΌλ‘ μλν μ μμ§λ§, 곡μμ μΌλ‘ ν μ€νΈλ λ²μ μ μμ κ°μ΅λλ€.
β¨ Features
.
π₯ Installation
CLI
$ npm install --global ilastlog
API
$ cd your_project
$ npm install ilastlog
π Usage
ilastlog options
CLI (using Shell)
$ # Not supported yet. #
CLI (using Node)
$ ilastlog -h
$ cat /var/log/auth.log | ilastlog
or
$ ilastlog "timeStamp log context"
or
$ cat /var/log/auth.log | npx ilastlog
API
const { ilastlog } = require("ilastlog");
ilastlog(sampleTexts);
π§ͺ Sample
$ npm run sample (or node sample.js)
π§ Configs
.
Format
supported time format
syslog "MMM dd HH:mm:ss"
ISO8601 "yyyy-MM-dd'T'HH:mm:ss.SSSZZ"
RFC2822 "EEE, dd MMM yyyy HH:mm:ss ZZ"
π Upcoming Features
- command options
- add new command for configure
- format add, remove
- add options on API
- format add, remove
π Docs
π License
0.3.0-beta.2
3 months ago
0.3.0-beta.1
4 months ago
0.3.0-beta.0
4 months ago
0.2.1
4 months ago
0.2.0
4 months ago
0.1.1
4 months ago
0.1.0
4 months ago