2.0.3 • Published 11 months ago

@querc/finger-server v2.0.3

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

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
2.0.3

11 months ago

2.0.2

11 months ago

2.0.1

11 months ago

2.0.1-next.1

11 months ago

2.0.1-next.0

11 months ago

2.0.0

11 months ago