# vscode-wrap-console-log-simple

> Wrap to console.log(or any function name) by word or selection

Latest version **1.6.26** (published 2023-04-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install vscode-wrap-console-log-simple
pnpm add vscode-wrap-console-log-simple
yarn add vscode-wrap-console-log-simple
bun add vscode-wrap-console-log-simple
```

## 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.6.26 |
| Published | 2023-04-08 |
| First published | 2023-04-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.3 MB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 13 |
| Maintainers | jcwsw129 |
| Keywords | wrap, console, log |

## Links

- npm: https://www.npmjs.com/package/vscode-wrap-console-log-simple
- Repository: https://github.com/wooodhead/vscode-wrap-console-log-simple
- Homepage: https://github.com/wooodhead/vscode-wrap-console-log-simple#readme
- Issues: https://github.com/wooodhead/vscode-wrap-console-log-simple/issues
- npm.io page: https://npm.io/package/vscode-wrap-console-log-simple

## Dependencies (4)

- [vsce](https://npm.io/package/vsce.md) ^2.15.0
- [axios](https://npm.io/package/axios.md) ^0.21.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [typescript](https://npm.io/package/typescript.md) ^4.0.5

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.6.26 (latest) — 2023-04-08

## README

# Demo
![demo.gif](https://raw.githubusercontent.com/WooodHead/vscode-wrap-console-log-simple/master/demo.gif)
# source code
https://github.com/WooodHead/vscode-wrap-console-log-simple

# original project
https://github.com/midnightsyntax/vscode-wrap-console-log

# Features

This extension read the word under your cursor and insert a statement with the word:

```
alt + E: console.log('variable');

cmd + E: console.log('variable', variable);

alt + A: new line;

alt + W: // comment line

cmd + J: console.log('variable', JSON.stringify(variable, null, 2));

alt + F: expect(variable).toBeDefined();


```

In settings, replace `console.log` with your own function name,
example:

```
Wrap-console-log-simple: Function Name

debug
```

will output
```
debug('variable');
debug('variable', variable);
```

# CodeXP.link
Search in 180M open source javascript projects.

https://codexp.link

![image](https://user-images.githubusercontent.com/5668806/145698450-659d32f8-94d0-4a3e-8adc-fb66443e33dd.png)

---
_Source: https://npm.io/package/vscode-wrap-console-log-simple · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
