@zufan_devops/console
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

@zufan_devops/console

Description

@zufan_devops/console package provides a set of utility functions to enhance your JavaScript/Node.js development experience. The functions include logging, clearing the console, getting object keys/values/entries, and displaying arrays.

Installation

To install this package, run the following command in your terminal:

npm install @zufan_devops/console --save-dev

import

import { clear, l, ll, arrayDisplay } from "@zufan_devops/console";
const { clear, l, ll, arrayDisplay } = require("@zufan_devops/console");
// Log a message
l("Hello, world!");

// Clear the console
clear();

// Get keys of an object
let keys = ok({ a: 1, b: 2, c: 3 });
arrayDisplay(keys);

// Get values of an object
let values = ov({ a: 1, b: 2, c: 3 });
arrayDisplay(values);

// Get entries of an object
let entries = oe({ a: 1, b: 2, c: 3 });
arrayDisplay(entries);

// Log a key-value pair
ll("key", "value");

Readme

Keywords

none

Package Sidebar

Install

npm i @zufan_devops/console

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

4.64 kB

Total Files

7

Last publish

Collaborators

  • zufan.interfaceing.development