@querc/finger-server
v2.0.3
Published
Implementation of a finger daemon for NodeJS
Downloads
346
Maintainers
Readme
finger-server
Implementation of a finger daemon for NodeJS
Usage
npm i @querc/finger-server
Basic example:
import { FingerDaemon } from '@querc/finger-server';
const fd = new FingerDaemon();
fd.on('list', (req) => {
return '[list of users]';
});
fd.on('user', (req) => {
return '[user details]';
});
fd.listen();
See full example in src/example.ts
sudo pnpm start:example
# List users:
finger @localhost
# Get user 'alice':
finger alice@localhost
# Verbose:
finger -l @localhost
finger -l charles@localhost