0.0.2 • Published 10 months ago
@vandaniel/logger v0.0.2
npm-test-package
Description
npm-test-package
is a simple npm package that provides a fake logger for your Node.js applications. It allows you to log messages to the console with additional "SPECIAL" tagging using the spLog
method.
Installation
To install npm-test-package
, you can use npm or yarn:
npm install npm-test-package
# or
yarn add npm-test-package
Usage
const { spLog } = require('npm-test-package');
spLog('This is a regular log message.'); // Output: This is a regular log message.
spLog('This is a special log message.', true); // Output: SPECIAL: This is a special log message.
Features
- Simple and lightweight fake logger for testing and development purposes.
- Adds a "SPECIAL" tag to log messages with the
spLog
method.
License
This package is licensed under the MIT License.
Contribution
Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or create a pull request on the GitHub repository.
Author
This npm package was developed by Your Name.