# prettify-source

> prettify all the files in the source directory

Latest version **2.1.2** (published 2022-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install prettify-source
pnpm add prettify-source
yarn add prettify-source
bun add prettify-source
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2022-03-07 |
| First published | 2021-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Browne |
| Maintainers | paul-browne |

## Links

- npm: https://www.npmjs.com/package/prettify-source
- Repository: https://github.com/Paul-Browne/npm-prettify-source
- Homepage: https://github.com/Paul-Browne/npm-prettify-source#readme
- Issues: https://github.com/Paul-Browne/npm-prettify-source/issues
- npm.io page: https://npm.io/package/prettify-source

## Dependencies (4)

- [prettier](https://npm.io/package/prettier.md) ^2.4.1
- [mime-types](https://npm.io/package/mime-types.md) ^2.1.33
- [recursive-file-walker](https://npm.io/package/recursive-file-walker.md) ^3.1.3
- [time-stamped-console-log](https://npm.io/package/time-stamped-console-log.md) ^2.0.1

## Recent versions

- 2.1.2 (latest) — 2022-03-07
- 2.1.1 — 2022-03-07
- 2.1.0 — 2021-10-20
- 2.0.0 — 2021-10-19
- 1.0.2 — 2021-10-08
- 1.0.1 — 2021-02-17
- 1.0.0 — 2021-02-17

## README

# prettify-source
prettify all the files in the source directory. prettify-source is quite efficient, it will only prettify files that:
1. have changed (or been created)
2. can be prettified (html, css, scss, sass, less, js and json)
3. need to be prettified - they might already be beautiful! :)

### usage

`npm i prettify-source`

or 

`npm i -D prettify-source`

```js
const prettifySrc = require("prettify-source");
prettifySrc("path/to/source/directory");
```

Good to add as part of a watch script.

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