Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

  1. Vercel CLI
  1. Configuration
  2. Runtimes
  1. Node.js
{
  "functions": {
      "api/*.js": { "runtime": "@vercel/node@1.8.5" }
  }
}
  1. Go
{
  "functions": {
      "api/*.go": { "runtime": "@vercel/go@1.1.6" }
  }
}
  1. Python
{
  "functions": {
      "api/*.py": { "runtime": "@vercel/python@1.2.3" }
  }
}
  1. Ruby
{
  "functions": {
      "api/*.rb": { "runtime": "@vercel/ruby@1.2.4" }
  }
}
  1. PHP
{
  "functions": {
    "api/*.php": { "runtime": "vercel-php@0.3.1" }
  },
  "routes": [
    { "src": "/(.*)",  "dest": "/api/index.php" }
  ]
}
  1. Bash
{
  "functions": {
      "api/*.sh": { "runtime": "vercel-bash@3.0.7" }
  }
}
  1. Deno
{
  "functions": {
      "api/**/*.[jt]s": { "runtime": "vercel-deno@0.7.6" }
  }
}
  1. Rust
{
  "functions": {
      "api/*.rs": { "runtime": "@vercel/vercel-rust@0.0.35" }
  }
}

Examples

  1. Ruby
  2. Python
  3. 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

About

Vercel Cheatsheet

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors