@paulshryock/abstractions
v0.1.0
Published
Reusable abstractions for Node.js.
Downloads
4
Maintainers
Readme
@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
- [ ] FileSystem
- [ ] Input
- [ ] Network
- ✅ Output
Contributing
Contributions are welcome! Read the contribution guidelines, and then submit a pull request.
Authors and acknowledgment
License
Project status
This project is in early development, and is not recommended for use in a production environment.