# rise-functions

> Rise Functions is a CLI which takes a `rise.mjs` file, and deploys AWS Lambda functions into your AWS account. All lambda functions are located in a /functions folder. The goal of rise functions is to make building AWS Lambda functions as simple and strai

Latest version **0.0.51** (published 2024-03-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install rise-functions
pnpm add rise-functions
yarn add rise-functions
bun add rise-functions
```

Provides the command `rise-functions`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.51 |
| Published | 2024-03-25 |
| First published | 2022-07-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 74.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | garysjennings |

## Links

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

## Dependencies (6)

- [json5](https://npm.io/package/json5.md) ^2.2.3
- [rise-deploycode](https://npm.io/package/rise-deploycode.md) ^0.0.1
- [rise-deployinfra](https://npm.io/package/rise-deployinfra.md) ^0.0.6
- [rise-aws-foundation](https://npm.io/package/rise-aws-foundation.md) ^0.0.28
- [rise-cli-foundation](https://npm.io/package/rise-cli-foundation.md) ^0.0.14
- [rise-filesystem-foundation](https://npm.io/package/rise-filesystem-foundation.md) ^0.0.1

## Recent versions

- 0.0.51 (latest) — 2024-03-25
- 0.0.50 — 2024-03-25
- 0.0.49 — 2024-03-25
- 0.0.48 — 2023-12-10
- 0.0.47 — 2023-12-10
- 0.0.46 — 2023-12-10
- 0.0.44 — 2023-10-15
- 0.0.43 — 2023-10-15
- 0.0.42 — 2023-10-15
- 0.0.41 — 2023-09-25
- 0.0.40 — 2023-09-23
- 0.0.39 — 2023-09-23
- 0.0.38 — 2023-06-18
- 0.0.37 — 2023-04-14
- 0.0.36 — 2023-04-01
- … 34 more at https://npm.io/package/rise-functions/versions

## README

# Rise Functions

Rise Functions is a CLI which takes a `rise.mjs` file, and deploys AWS Lambda functions into your AWS account. All lambda functions are located in a /functions folder. The goal of rise functions is to make building AWS Lambda functions as simple and straight forward as possible.

## Install

```bash
npm i -g rise-functions
```

## Usage

Deploy

```bash
rise-functions deploy
```

## Project Structure

A project as the following structure:

```bash
/functions
    myFunctionA.mjs
    myFunctionB.mjs
    myFunctionC.mjs
rise.mjs
```

If your function requires multiple files, or node_modules, functions can also be defined inside folders.

```bash
/functions
    /myFunctionA
        util.mjs
        index.mjs
    /myFunctionB
        /node_modules
        util.mjs
        index.mjs
rise.mjs
```

## What is the rise.mjs file for?

The `rise.mjs` file is for configuring your project. Here is an example:

```js
export default {
    name: 'nameOfMyProject',
    // optional
    domain: {
        name: 'mydomain.com',
        path: '/serviceA',
        stage: 'dev'
    }
}
```

The only required parameter is the name. This will be used to name:

-   the s3 bucket where your code will be uploaded
-   lambda functions
-   iam roles

## What CLI flags are available?

You can set the region of your deployment like so:

```bash
rise-functions deploy --region=us-east-2
```

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