Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dd.js

Latest Version on NPM Software License

Super simple 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 dd.js
$ yarn add dd.js

Usage

require('dd.js');

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

Contributing

Contributions are welcome, thanks to y'all :)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon.

License

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

You can’t perform that action at this time.