Skip to content

Latest commit

 

History

History
79 lines (48 loc) · 2.59 KB

README.md

File metadata and controls

79 lines (48 loc) · 2.59 KB

Intitule

Dump javascript values and html like this (windows example, mac example).

Installation

# Using npm
npm install intitule

# Using Yarn
yarn add intitule

Usage

let dumper = require('intitule');

dumper.makeGlobal(); // This will make dump(), dd(), dump_diff() and dd_diff() methodes global available

dump('Hello World');
dump([1,2,3]);
dd('exit.');

View ./node_modules/intitule/examples/example.js file for more details. You can run this example like this:

node ./node_modules/intitule/examples/example.js

class Intitule

Intitule highlighting is fully customizable. You got 3 options to achieve this:

  1. Use the style() method
  2. Create a intitule.config.js file
  3. Create your own theme

Examples

Windows example

Mac example