dd.js

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i dd.js

Weekly Downloads

37

Version

0.2.0

License

MIT

Last publish

Collaborators

  • ovanschie