# @jsclg/cli

> JSCLG cli.

Latest version **1.0.2** (published 2021-10-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jsclg/cli
pnpm add @jsclg/cli
yarn add @jsclg/cli
bun add @jsclg/cli
```

Provides the command `jsclg`.

## 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.2 |
| Published | 2021-10-28 |
| First published | 2021-03-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | squikjs |
| Keywords | jscf, console, js, jsc, javascript, print, log, logger |

## Links

- npm: https://www.npmjs.com/package/@jsclg/cli
- Repository: https://github.com/jsclg/cli
- Homepage: https://github.com/jsclg/cli#readme
- Issues: https://github.com/jsclg/cli/issues
- npm.io page: https://npm.io/package/@jsclg/cli

## Dependencies (1)

- [@jsclg/parser](https://npm.io/package/@jsclg/parser.md) ^1.0.5

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.2 (latest) — 2021-10-28
- 1.0.1 — 2021-03-01
- 1.0.0 — 2021-03-01

## README

# JSCLG Cli

# What is JSCLG?

- It stands for 'Javascript Console Log'.
- This package parses code like this ↓

  ```
  let greeting = hello;
  let goodbye = not {{greeting}} but bye;
  import goodMorning from ./tests/goodMorning.test.js;
  greeting :- {{greeting}};
  goodbye :- {{goodbye}};
  good morning :- {{goodMorning}};
  ```

  and prints it to the console like this ↓

  ```js
  greeting :- hello
  goodbye :- not hello but bye
  good morning :- Good Morning!
  ```

# Syntax

- ## Variables

  ```
  let <variable name> = <variable value>;
  ```

  for example

  ```
  let name = squik;
  ```

- ## Importing from other javascript files

  ```
  import <data> from <file path>;
  ```

  for example

  ```
  import age from age.js;
  ```

  > **Note**: You can also use object notation to import. For example, if the file age.js file exports `{ data: { age: 15 } }`, then you can use `import data.age from age.js` to access the age property's value. The last property(in case of "data.age" it is "age") will be used as the variable name.

# Executing

```bat
jsclg <file_name>
```

---
_Source: https://npm.io/package/@jsclg/cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
