0.1.0 • Published 11 months ago

@paulshryock/abstractions v0.1.0

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

@paulshryock/abstractions

Reusable abstractions for Node.js.

Requirements

SoftwareMinimum Version
Node14.13.1

Installation

npm install @paulshryock/abstractions

Usage

Output

import { Output } from '@paulshryock/abstractions'

class MyService {
    constructor(private readonly output: Output) {}

    outputMessages(): void {
        this.output.error('An error occurred.')
        this.output.warn('A warning message.')
        this.output.log('A log message.')
        this.output.info('An info message.')
        this.output.debug('A debug message.')
    }
}

Support

Roadmap

  • Database
  • Email
  • FileSystem
  • Input
  • Network
  • ✅ Output

Contributing

Contributions are welcome! Read the contribution guidelines, and then submit a pull request.

Authors and acknowledgment

Paul Shryock

License

MIT License

Project status

This project is in early development, and is not recommended for use in a production environment.