# indentation-script

> Modification of ES, made to include python-style indentation rules

Latest version **1.0.1** (published 2020-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install indentation-script
pnpm add indentation-script
yarn add indentation-script
bun add indentation-script
```

Provides the command `is`.

## 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.1 |
| Published | 2020-03-10 |
| First published | 2020-03-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | oekshido |
| Maintainers | oekshido |
| Keywords | preprocessor, javascript, cli |

## Links

- npm: https://www.npmjs.com/package/indentation-script
- Repository: https://github.com/oekshido/is
- Homepage: https://github.com/oekshido/is#readme
- Issues: https://github.com/oekshido/is/issues
- npm.io page: https://npm.io/package/indentation-script

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-03-10
- 1.0.0 — 2020-03-10

## README

# indentation script
Modification of ES, made to include python-style indentation rules


## Example
Made using the `isToEs()` function:

### IS:
```javascript
function fib(n):
	var results = [0,1]
	for(var i = 0; i < n; i++):
		temp = results[1]
		results[1] = results[0] + temp
		results[0] = temp
	return results[0]

console.log(fib(5))
```

### ES:
```javascript
function fib(n){
	var results = [0,1]
	for(var i = 0; i < n; i++){
		temp = results[1]
		results[1] = results[0] + temp
		results[0] = temp
	}
	return results[0]

}
console.log(fib(5))
```

## CLI Usage
```
$ is .
```
Finds all `.is` files and creates a `.js` file with the same name (recursive)

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