Socket
Socket
Sign inDemoInstall

lme

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lme - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

25

index.js

@@ -77,6 +77,6 @@ 'use strict';

line: function(char, length) {
if(!char) {
if (!char) {
char = '-';
};
if(!length) {
if (!length) {
length = 30;

@@ -100,6 +100,6 @@ };

dline: function(char, length) {
if(!char) {
if (!char) {
char = '-';
};
if(!length) {
if (!length) {
length = 30;

@@ -123,6 +123,6 @@ };

sline: function(char, length) {
if(!char) {
if (!char) {
char = '-';
};
if(!length) {
if (!length) {
length = 30;

@@ -146,6 +146,6 @@ };

wline: function(char, length) {
if(!char) {
if (!char) {
char = '-';
};
if(!length) {
if (!length) {
length = 30;

@@ -169,6 +169,6 @@ };

eline: function(char, length) {
if(!char) {
if (!char) {
char = '-';
};
if(!length) {
if (!length) {
length = 30;

@@ -192,6 +192,6 @@ };

hline: function(char, length) {
if(!char) {
if (!char) {
char = '-';
};
if(!length) {
if (!length) {
length = 30;

@@ -211,2 +211,3 @@ };

console.log(chalk.bgCyan.black(theLine));
}

@@ -213,0 +214,0 @@ }

{
"name": "lme",
"version": "1.2.0",
"version": "1.2.1",
"description": "Simply and beautifully log to console.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -105,7 +105,7 @@ ![](https://raw.githubusercontent.com/vajahath/lme/master/media/logo.png)

| `line` | default | default output | `lme.line();` |
| `dline` | same as line | default output | `lme.dline("hi");` |
| `sline` | successe | on success output | `lme.sline("hi");` |
| `eline` | error | on error-ed output | `lme.eline("hi");` |
| `wline` | warning | for warnings like output | `lme.wline("hi");` |
| `hline` | highlight | for highlighting an output | `lme.hline("hi");` |
| `dline` | same as line | default output | `lme.dline("*", 5);` |
| `sline` | successe | on success output | `lme.sline("*");` |
| `eline` | error | on error-ed output | `lme.eline("/", 50);` |
| `wline` | warning | for warnings like output | `lme.wline("*");` |
| `hline` | highlight | for highlighting an output | `lme.hline("*");` |

@@ -112,0 +112,0 @@ <br>

@@ -24,9 +24,9 @@ //////////////////

// strings
lme.d('cherry is sweet!');
lme.s('cherry is sweet!');
lme.w('cherry is sweet!');
lme.e('cherry is sweet!');
lme.h('cherry is sweet!');
lme.i('cherry is sweet!');
lme.t('cherry is sweet!');
lme.d('mango is sweet!');
lme.s('mango is sweet!');
lme.w('mango is sweet!');
lme.e('mango is sweet!');
lme.h('mango is sweet!');
lme.i('mango is sweet!');
lme.t('mango is sweet!');
lme.d('\n');

@@ -60,2 +60,4 @@

lme.eline({ yu: 1 });
lme.hline({ yu: 1 });
lme.hline({ yu: 1 });
lme.i('test finished');

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc