Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lifeparticle/Vercel-Cheatsheet

Vercel Cheatsheet
https://github.com/lifeparticle/Vercel-Cheatsheet

Last synced: about 2 months ago
JSON representation

Vercel Cheatsheet

Awesome Lists containing this project

README

        

# Introduction

1. [Vercel CLI](https://vercel.com/download)
- [Documentation](https://vercel.com/docs/cli)
2. [Configuration](https://vercel.com/docs/configuration)
3. [Runtimes](https://vercel.com/docs/runtimes)

- [Officially supported runtimes](https://vercel.com/docs/runtimes#official-runtimes)

1. [Node.js](https://www.npmjs.com/package/@vercel/node)
```json
{
"functions": {
"api/*.js": { "runtime": "@vercel/[email protected]" }
}
}
```

2. [Go](https://www.npmjs.com/package/@vercel/go)
```json
{
"functions": {
"api/*.go": { "runtime": "@vercel/[email protected]" }
}
}
```

3. [Python](https://www.npmjs.com/package/@vercel/python)
```json
{
"functions": {
"api/*.py": { "runtime": "@vercel/[email protected]" }
}
}
```

4. [Ruby](https://www.npmjs.com/package/@vercel/ruby)
```json
{
"functions": {
"api/*.rb": { "runtime": "@vercel/[email protected]" }
}
}
```

- [Community Runtimes](https://vercel.com/docs/runtimes#advanced-usage/community-runtimes)

1. [PHP](https://www.npmjs.com/package/vercel-php)

```json
{
"functions": {
"api/*.php": { "runtime": "[email protected]" }
},
"routes": [
{ "src": "/(.*)", "dest": "/api/index.php" }
]
}
```

2. [Bash](https://www.npmjs.com/package/vercel-bash)

```json
{
"functions": {
"api/*.sh": { "runtime": "[email protected]" }
}
}
```

3. [Deno](https://www.npmjs.com/package/vercel-deno)
```json
{
"functions": {
"api/**/*.[jt]s": { "runtime": "[email protected]" }
}
}
```

4. [Rust](https://www.npmjs.com/package/vercel-rust)
```json
{
"functions": {
"api/*.rs": { "runtime": "@vercel/[email protected]" }
}
}
```

# Examples
1. [Ruby](https://github.com/lifeparticle/vercel-cheatsheet/tree/main/ruby)
2. [Python](https://github.com/lifeparticle/vercel-cheatsheet/tree/main/python)
3. [PHP](https://github.com/lifeparticle/vercel-cheatsheet/tree/main/php)

Bug Reports and Feature Requests
============
Please create an issue with as much information you can. Thank you.

Author
============
Mahbub Zaman (https://mahbub.ninja)

License
============
MIT License