{"id":26382,"library":"serverless-js-transpiler","title":"serverless-js-transpiler","description":"A Serverless Framework plugin for transpiling JavaScript to ES2015/16/17 using Babel. Version 0.1.1 is a work-in-progress with no recent releases. It integrates with the serverless lifecycle to transpile files before packaging or deployment. Compared to alternatives like serverless-webpack or serverless-bundle, this plugin is minimal but lacks maintenance and documentation.","status":"active","version":"0.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/KylePalko/serverless-js-transpiler","tags":["javascript"],"install":[{"cmd":"npm install serverless-js-transpiler","lang":"bash","label":"npm"},{"cmd":"yarn add serverless-js-transpiler","lang":"bash","label":"yarn"},{"cmd":"pnpm add serverless-js-transpiler","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Serverless Framework plugin; requires serverless to be installed","package":"serverless","optional":false}],"imports":[{"note":"Configured via serverless.yml, not imported in code","wrong":"require('serverless-js-transpiler') in JavaScript code","symbol":"plugin","correct":"// Add to serverless.yml plugins section:\nplugins:\n  - serverless-js-transpiler"}],"quickstart":{"code":"# serverless.yml\nplugins:\n  - serverless-js-transpiler\n\nprovider:\n  name: aws\n  runtime: nodejs12.x\n\nfunctions:\n  hello:\n    handler: build/handler.hello\n    events:\n      - http:\n          path: hello\n          method: get\n","lang":"javascript","description":"Configures the plugin in serverless.yml to transpile JavaScript and output to build/ directory."},"warnings":[{"fix":"Use actively maintained alternatives like serverless-webpack or serverless-bundle.","message":"Package is WIP and no updates since initial release","severity":"deprecated","affected_versions":"0.1.1"},{"fix":"Set handler to e.g. build/index.handler instead of src/index.handler.","message":"Handler paths must point to build/ directory after transpilation","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.1.1':17 'altern':43 'babel':15 'bundl':51 'compar':41 'deploy':40 'document':60 'es2015/16/17':13 'file':36 'framework':7 'integr':29 'javascript':11,61 'js':3 'lack':57 'lifecycl':33 'like':44 'mainten':58 'minim':55 'packag':38 'plugin':8,53 'progress':23 'recent':26 'releas':27 'serverless':2,6,32,46,50 'serverless-bundl':49 'serverless-js-transpil':1 'serverless-webpack':45 'transpil':4,10,35 'use':14 'version':16 'webpack':47 'work':21 'work-in-progress':20","created_at":"2026-05-01T13:49:41.915447+00:00","updated_at":"2026-05-01T13:49:41.915447+00:00","problems":[{"fix":"Run npm install serverless-js-transpiler --save-dev and add 'serverless-js-transpiler' to plugins list in serverless.yml.","cause":"Plugin not installed or not specified correctly in serverless.yml","error":"Cannot find module 'serverless-js-transpiler'"},{"fix":"Run serverless package or serverless deploy first to generate build/.","cause":"Handler path points to build/ but code not transpiled yet","error":"Error: ENOENT: no such file or directory, open 'build/...'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/KylePalko/serverless-js-transpiler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/serverless-js-transpiler","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}