# `sammich.js`

"Too many JavaScript files? Put 'em in a sammich."

`sammich.js` is a JavaScript file concatenator designed for bundling simple projects for browser usage,
or to take up less storage space.

## CLI (Command Line Tool)

### Install

```sh
npm i -g sammich
```

### Usage

```sh
node bin/sammich.js src/util.js src/index.js > bundle.js
```

## JavaScript Library

### Install

```sh
npm i sammich
```

### Usage

```sh
const inputFilePaths = [
    "src/bar.js",
    "src/foo.js"
];

const sammichSourceCode = await Sammich.bundleFiles(inputFilePaths);

console.log(sammichSourceCode);
```
