# lakesjs

> The efficient and powerful JavaScript build tool.

Latest version **1.0.5** (published 2020-06-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install lakesjs
pnpm add lakesjs
yarn add lakesjs
bun add lakesjs
```

Provides the command `lake`.

## 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.5 |
| Published | 2020-06-15 |
| First published | 2020-06-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | salvage_dev |
| Keywords | build, lake, builds, tasks, build tasks, lakes, lakesjs, lakejs |

## Links

- npm: https://www.npmjs.com/package/lakesjs
- npm.io page: https://npm.io/package/lakesjs

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [outdent](https://npm.io/package/outdent.md) ^0.7.1

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2020-06-15
- 1.0.4 — 2020-06-15
- 1.0.3 — 2020-06-15
- 1.0.2 — 2020-06-15
- 1.0.1 — 2020-06-15
- 1.0.0 — 2020-06-15

## README

**LakesJS** - The efficient JavaScript build tool.<br>
**Lakes CLI** - The Lakes CLI is a very powerful tool for lakes:<br>
You can install it with:
```
npm i -g lakesjs
```
You can then run
```
lake -h
```
This will display a help message. You can simply run
```
lake
```
To execute your lakefile.js<br>
You can initiate a project with:
```
lake -i|--i|-init|--init
```
**What is a lakefile?**<br>
A lakefile is how we parse tasks, all tasks are placed in that file. To create a task you can execute a callback, so you can put whatever JavaScript code you want.<br>
**Lakefile methods**<br>
```js
const { task, series, run } = require('lakesjs');
const test = task("task name", "task description", () => {
    //Callback function to execute
});
series(test) //Executed test, you can add more by creating more tasks and adding more params
run() //Executes all tasks
```
**NOTE: Lakes automatically installs a local version of the dependency to create the lakefile.**

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