@paulshryock/abstractions
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@paulshryock/abstractions

Reusable abstractions for Node.js.

Requirements

Software Minimum Version
Node 14.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.

Package Sidebar

Install

npm i @paulshryock/abstractions

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

9.43 kB

Total Files

5

Last publish

Collaborators

  • paulshryock