# babel-plugin-transform-handy-debug

> A few handy debugging shorthands

Latest version **1.0.0** (published 2018-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-transform-handy-debug
pnpm add babel-plugin-transform-handy-debug
yarn add babel-plugin-transform-handy-debug
bun add babel-plugin-transform-handy-debug
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-01-08 |
| First published | 2018-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Zero Cho |
| Maintainers | itszero |
| Keywords | debug, babel, transform, local |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-transform-handy-debug
- Repository: https://github.com/itszero/babel-plugin-transform-handy-debug
- Homepage: https://github.com/itszero/babel-plugin-transform-handy-debug#readme
- Issues: https://github.com/itszero/babel-plugin-transform-handy-debug/issues
- npm.io page: https://npm.io/package/babel-plugin-transform-handy-debug

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-01-08

## README

# Handy Debug

(officially: babel-plugin-transform-handy-debug)

This is a babel plugin that aim to provide a collection of handy debugging
transformation. Well, the current collection size is ... 1.

## Features

### __printLocals()

It prints all declared variables from the parent function scope up to the
current running point.

For example, this code snippet:

```
function test() {
  const a = 1;
  if (a === 1) {
    const b = 2;
    f(a, b);
    __printLocals();
    const c = 3;
  }
}
```

It will print out the content for a and b. Think it as a shortcut for
everyone's beloved console logging.

---
_Source: https://npm.io/package/babel-plugin-transform-handy-debug · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
