@glowyjs/dd

1.0.0 • Public • Published

DD

DD Package provides functionality for JS console logging, inspired by the PHP Symfony dd() and dump() functions.

Version License

Install

$ npm install --save @glowyjs/dd

Usage

import {dump, dd} from '@glowyjs/dd';

dump('Foo');
//=> Foo

dump('Foo', 'Bar');
//=> Foo
//=> Bar

dd('Foo', 'Bar')
//=> Foo
//=> Bar
//
// dd
//
// Function threw exception that is not an error:
//
// 'Stopped execution because dd(), use dump() if you want to proceed.'

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.02

Package Sidebar

Install

npm i @glowyjs/dd

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

2.94 kB

Total Files

4

Last publish

Collaborators

  • awilum