1.0.4 • Published 3 years ago

imfo v1.0.4

Weekly downloads
51
License
MIT
Repository
github
Last release
3 years ago

imfo

Get system info in an easy, consistent, cross-platform way.

Compared to parsing the output of ifconfig or ip route, the 'os' module in Node.js is very easy to use.

> npx imfo --ip
192.168.1.12

You can also get the whole os object to have cross-platform access to things like homedir hostname userInfo.username and others.

> npx imfo | jq -r '.userInfo.username'
kronk

> npx imfo | jq -r '.tmpdir'
/tmp

> npx imfo | jq -r '.cpus | length'
8
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago