0.3.0-beta.2 β€’ Published 3 months ago

ilastlog v0.3.0-beta.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

  1. command options
  2. add new command for configure
  • format add, remove
  1. add options on API
  • format add, remove

πŸ“– Docs

Wiki

πŸ“œ License

MIT

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