@nzambello/logvar
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -0,1 +1,9 @@ | ||
### [0.1.1](https://github.com/nzambello/logvar/compare/v0.1.0...v0.1.1) (2021-05-19) | ||
### Maintenance | ||
* rename with namespace ([fb92bb4](https://github.com/nzambello/logvar/commit/fb92bb4cd9327dd16aa56caa002bc14e40074340)) | ||
* set access public npm ([c5e5ba6](https://github.com/nzambello/logvar/commit/c5e5ba67dbbf29e36f80a9bbd8f29ead091346cd)) | ||
## 0.1.0 (2021-05-19) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "@nzambello/logvar", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Utility to print variables in console log for debugging purpose.", | ||
@@ -8,2 +8,5 @@ "author": "Nicola Zambello <nzambello@protonmail.com>", | ||
"main": "build/src/main.js", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
@@ -10,0 +13,0 @@ "clean": "rimraf coverage build tmp", |
@@ -8,3 +8,3 @@ # logvar | ||
Utility that prints variables in console log for debugging purpose. | ||
Utility that prints variables in console log for debugging purpose. 🐛 | ||
@@ -15,4 +15,12 @@ ```js | ||
## The purpose | ||
## Table of contents 📖 | ||
- [The purpose](#the-purpose) | ||
- [The real purpose: life](#the-real-purpose-life) | ||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [License](#license) | ||
## The purpose 👨💻 | ||
This is the same old story: a lazy developer automating a simple but repetitive task when it is not really needed. | ||
@@ -27,3 +35,3 @@ Does the world need another utility for lazy devs? Maybe not, but I did this. | ||
like 500 times a day to debug stuff in js. | ||
500 times a day to debug stuff in js. | ||
@@ -33,3 +41,3 @@ I was logging variables but having some of them, I needed a label with the name, so I logged a string with the name and then the value. 500 times a day. | ||
### The real purpose: life | ||
### The real purpose: life 🍻 | ||
@@ -39,8 +47,19 @@ Was I losing time on this `console.log` thingy? Maybe not, but don't we developers have more to focus on? | ||
So, this utility is meant to hug you during your debugging time saying: "Hey, you're great, you will find out what is going on. Here's some help". | ||
So, this utility is meant to hug you during your debugging time saying: "Hey, you're great, you will find out what is going on. Here's some help". 🤗 | ||
## Usage | ||
## Installation 🚀 | ||
```sh | ||
yarn add --dev @nzambello/logvar | ||
# npm i --save-dev @nzambello/logvar | ||
``` | ||
## Usage 🛠️ | ||
Try it out on [CodeSandBox](https://codesandbox.io/embed/logvar-sandbox-ub45j?autoresize=1&expanddevtools=1&fontsize=14&hidenavigation=1&module=%2Fsrc%2Findex.js&theme=dark). | ||
```ts | ||
import logvar from '@nzambello/logvar'; | ||
// node: | ||
// var logvar = require('@nzambello/logvar'); | ||
@@ -70,11 +89,4 @@ const life = 42; | ||
## Installation | ||
## License 👐 | ||
```sh | ||
yarn add --dev @nzambello/logvar | ||
# npm i --save-dev @nzambello/logvar | ||
``` | ||
## License | ||
Licensed under the APLv2. See the [LICENSE](https://github.com/jsynowiec/node-typescript-boilerplate/blob/main/LICENSE) file for details. | ||
@@ -81,0 +93,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27981
111