All Projects → xtuc → Babel Plugin Transform Scala Lambda

xtuc / Babel Plugin Transform Scala Lambda

Enable Scala lambda style

Programming Languages

javascript
184084 projects - #8 most used programming language
scala
5932 projects

Projects that are alternatives of or similar to Babel Plugin Transform Scala Lambda

Babel Plugin Partial Application
[DEPRECATED] Please use https://github.com/citycide/param.macro
Stars: ✭ 60 (+13.21%)
Mutual labels:  lambda, babel
Param.macro
Partial application syntax and lambda parameters for JavaScript, inspired by Scala's `_` & Kotlin's `it`
Stars: ✭ 170 (+220.75%)
Mutual labels:  lambda, babel
node-lambda-babel-template
A minimal template for an ES2015+ Node.js app running on AWS Lambda (w/ babel and webpack).
Stars: ✭ 40 (-24.53%)
Mutual labels:  babel, lambda
Lambda Coding Round Evaluator
lambda-coding-round-evaluator is a Serverless application to automate coding round submission and evaluation. It helps you get rid of emails and easily filter out bad candidates. Yay!
Stars: ✭ 43 (-18.87%)
Mutual labels:  lambda
Aws Event Sources
Knative event sources for AWS services
Stars: ✭ 45 (-15.09%)
Mutual labels:  lambda
Serverless Application Model
AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications
Stars: ✭ 8,305 (+15569.81%)
Mutual labels:  lambda
Lambda Audio
Run Sound eXchange (SoX), the Swiss Army knife of audio manipulation, with Lame on AWS Lambda
Stars: ✭ 53 (+0%)
Mutual labels:  lambda
Chalice
Python Serverless Microframework for AWS
Stars: ✭ 8,513 (+15962.26%)
Mutual labels:  lambda
Modularjs
△ Dead simple modular JavaScript framework for ES modules.
Stars: ✭ 52 (-1.89%)
Mutual labels:  babel
Alexa Monzo
Monzo Skill for the Amazon Alexa
Stars: ✭ 49 (-7.55%)
Mutual labels:  lambda
Nextjs With Lambda
Next.js example with deploying to AWS Lambda
Stars: ✭ 48 (-9.43%)
Mutual labels:  lambda
Ridge
AWS Lambda HTTP Proxy integration event bridge to Go net/http.
Stars: ✭ 45 (-15.09%)
Mutual labels:  lambda
Cookbook
Alexa Skill Building Cookbook
Stars: ✭ 50 (-5.66%)
Mutual labels:  lambda
Corgi
AWS Lambda / API Gateway native, fast and simple web framework
Stars: ✭ 44 (-16.98%)
Mutual labels:  lambda
Serverless Application
🍤 ALIS Media - Serverless Application
Stars: ✭ 52 (-1.89%)
Mutual labels:  lambda
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+1816.98%)
Mutual labels:  babel
Gcf.cr
gcf.cr provides serverless execution and deployment of crystal language code in Google Cloud Functions
Stars: ✭ 51 (-3.77%)
Mutual labels:  lambda
Todoist Js
!! OBSOLETE !! The (un)official Todoist javascript API library
Stars: ✭ 46 (-13.21%)
Mutual labels:  babel
React Es6 Padawan To Jedi Book
Uma introdução simples e completa para React usando ES6 e Babel.
Stars: ✭ 46 (-13.21%)
Mutual labels:  babel
Appsync Resolvers Example
Example project for AppSync, GraphQL, and AWS Lambda resolvers using Go.
Stars: ✭ 50 (-5.66%)
Mutual labels:  lambda

Transform Scala lambda

Greenkeeper badge

Enable Scala lambda style

Motivations

  • Allow a more consice syntax for simple things.
  • Scala is a great language (you should take a look at Scala.js)

Installation

npm install --save-dev babel-plugin-transform-scala-lambda

Usage

Add the following line to your .babelrc file:

{
    "plugins": ["transform-scala-lambda"]
}

Examples

Sum a list of numbers

Using lambda style

const sum = [1, 1, 1].reduce(_ + _);

Without it

const sum = [1, 1, 1].reduce((a, b) => a + b);

Get property from object

Using lambda style

const users = [{ name: "Sven" }, { name: "James" }];

const userNames = users.map(_.name);

Without it

const users = [{ name: "Sven" }, { name: "James" }];

const userNames = users.map(u => u.name);
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].