All Projects → serverless → Typescript

serverless / Typescript

TypeScript definitions for Serverless Framework service configuration

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Typescript

Workshop Donkeytracker
Workshop to build a serverless tracking application for your mobile device with an AWS backend
Stars: ✭ 27 (-35.71%)
Mutual labels:  serverless
Serverless Faas Workbench
FunctionBench
Stars: ✭ 32 (-23.81%)
Mutual labels:  serverless
Lambda Packs
Precompiled packages for AWS Lambda
Stars: ✭ 997 (+2273.81%)
Mutual labels:  serverless
Graphql Serverless
Sample project to guide the use of GraphQL and Serverless Architecture.
Stars: ✭ 28 (-33.33%)
Mutual labels:  serverless
Vscode Apimanagement
VS Code extension for Azure API Management.
Stars: ✭ 32 (-23.81%)
Mutual labels:  serverless
Shorty.sls
Serverless URL shortener written in Python3 using the serverless framework
Stars: ✭ 35 (-16.67%)
Mutual labels:  serverless
Saasify
The easiest way to monetize your API. 🚀
Stars: ✭ 912 (+2071.43%)
Mutual labels:  serverless
Terraform Nextjs Plugin
A plugin to generate terraform configuration for Nextjs 8 and 9
Stars: ✭ 41 (-2.38%)
Mutual labels:  serverless
Serverless Geoip
Use MaxMind GeoLite2 database with AWS Lambda
Stars: ✭ 33 (-21.43%)
Mutual labels:  serverless
Serverless Home Automation
WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Stars: ✭ 38 (-9.52%)
Mutual labels:  serverless
Serverless Plugin Stackstorm
Plugin for serverless framework to run ready to use actions from StackStorm Exchange as AWS Lambda.
Stars: ✭ 28 (-33.33%)
Mutual labels:  serverless
Siodb
The simplicity of REST and the power of SQL combined in a database that automatized security and performance. Forget the database, develop faster and safer!
Stars: ✭ 31 (-26.19%)
Mutual labels:  serverless
Lamlight
Lamlight is a command line tool to allow easy handling of AWS lambda functions. It allows to put heavy dependencies like numpy and scipy on AWS lambda and updating your lambda function very quickly.
Stars: ✭ 37 (-11.9%)
Mutual labels:  serverless
Aws Lambda Dotnet
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Stars: ✭ 945 (+2150%)
Mutual labels:  serverless
Moveit
🚀 NLW #4 | React+ TypeScript + NextJS + StyledComponents + Firebase + MongoDb +Axios
Stars: ✭ 39 (-7.14%)
Mutual labels:  serverless
Kong
🦍 The Cloud-Native API Gateway
Stars: ✭ 30,838 (+73323.81%)
Mutual labels:  serverless
Cortex
Production infrastructure for machine learning at scale
Stars: ✭ 7,627 (+18059.52%)
Mutual labels:  serverless
Serverless Next
How to use Serverless to provide the frontend with a full API with minimal effort and max. scalability
Stars: ✭ 41 (-2.38%)
Mutual labels:  serverless
Deno Serverless Poc
PoC Deno image for Google Cloud Run
Stars: ✭ 41 (-2.38%)
Mutual labels:  serverless
Tgmessage
TG 消息推送机器人
Stars: ✭ 38 (-9.52%)
Mutual labels:  serverless

serverless/typescript

Typescript definitions for Serverless serverless.ts service file.

Since v1.72.0, the Serverless framework accepts serverless.ts as a valid service file in addition to the usual serverless.yml, serverless.json and serverless.js file formats.

This repository serves as a replacement of the community-maintained DefinitelyTyped @types/serverless package. It aims to automate service file TypeScript definitions based on JSON-schema used by serverless/serverless for validation at the beginning of any Serverless CLI command. This automated pipeline is triggered every time a new release of Serverless framework is available. The pipeline ends with the publishing of the newly generated definitions to NPM, ensuring they are always up to date and consistent with the framework internal validation logic.

TypeScript definition generation pipeline

Installation

npm i @serverless/typescript --save-dev

or

yarn add @serverless/typescript --dev

Usage

serverless.ts file

import type { AWS } from '@serverless/typescript';

const serverlessConfiguration: AWS = {
  service: 'aws-nodejs-typescript',
  frameworkVersion: '*',
  provider: {
    name: 'aws',
    runtime: 'nodejs12.x',
  },
  functions: {
    hello: {
      handler: 'handler.hello',
      events: [
        {
          http: {
            method: 'get',
            path: 'hello',
          }
        }
      ]
    }
  }
}

module.exports = serverlessConfiguration;

Contributing

No PR including modifications on index.d.ts will be accepted. The service file Typescript definitions enclosed within this file are automatically generated at each new Serverless framework release. If any manual modification was added to this file, those would be overwritten during the next Serverless version release and TypeScript definitions generation process.

We love our contributors!

Check out our help wanted or good first issue labels to find issues we want to move forward on with your help.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].