Skip to content

Freezon/dump_laravel_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dump_laravel_js

Latest Version on NPM Software License

Simple and small JavaScript function for console logging, inspired by the Laravel dd() and dump() functions.

Install

You can install the package via npm or yarn:

$ npm install dump_laravel_js
$ yarn add dump_laravel_js

Usage

require('dump_laravel_js');
//or
import 'dump_laravel_js';
//or 
import {dd, dump}, * as _ from 'import';

dump(foo, bar); // This is just a plain console.log

dd(foo, bar); // This will throw an exception after the logging to try to stop further execution

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published