{"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,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","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,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}