{"id":25467,"library":"escapin","title":"Escapin","description":"Escapin is a transpiler that converts source code into executable serverless applications for cloud services and APIs, version 0.4.9. Released by Fujitsu Laboratories, it generates serverless.yml and transpiled code for deployment via the Serverless Framework, primarily targeting AWS. It supports TypeScript and JavaScript, with features like storage abstraction, function integration, and OpenAPI import. The package is stable but niche, with infrequent updates and limited community adoption. It differentiates by providing a domain-specific language for cloud service orchestration, reducing boilerplate. Requires Node.js >=10 and the Serverless Framework as a peer dependency.","status":"active","version":"0.4.9","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/FujitsuLaboratories/escapin","tags":["javascript","serverless","serverless framework","typescript","babel","transpiler"],"install":[{"cmd":"npm install escapin","lang":"bash","label":"npm"},{"cmd":"yarn add escapin","lang":"bash","label":"yarn"},{"cmd":"pnpm add escapin","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required for deploying transpiled applications to cloud providers (e.g., AWS).","package":"serverless","optional":false},{"reason":"Often used as HTTP client in transpiled code; can be configured in escapin config.","package":"axios","optional":true}],"imports":[{"note":"Escapin is primarily a CLI tool; there is no programmatic API exported.","wrong":"require('escapin')","symbol":"escapin CLI","correct":"npx escapin"},{"note":"Configuration files can be JSON, YAML, or JS (CommonJS). TypeScript config is not supported directly.","wrong":".escapinrc.ts","symbol":"escapin config file","correct":".escapinrc.js"},{"note":"The output directory is configurable via 'output_dir' in config.","wrong":"","symbol":"escapin output","correct":"escapin transpiles code to ./build/ by default"}],"quickstart":{"code":"{\n  \"scripts\": {\n    \"build\": \"escapin\",\n    \"start\": \"cd build && serverless deploy\"\n  }\n}\n","lang":"javascript","description":"This package.json snippet shows the minimal setup to build and deploy a serverless application with Escapin and the Serverless Framework."},"warnings":[{"fix":"Install Serverless Framework via npm install -g serverless.","message":"Requires Node.js >=10 and the Serverless Framework globally installed.","severity":"gotcha","affected_versions":">=0.4.0"},{"fix":"Ensure your target platform (e.g., aws) is configured in .escapinrc.","message":"Escapin only supports a limited set of cloud providers; likely AWS only.","severity":"gotcha","affected_versions":">=0.4.0"},{"fix":"Replace 'default_storage' with 'storage' in config.","message":"The 'default_storage' config option may be deprecated; use 'storage' instead.","severity":"deprecated","affected_versions":">=0.4.0 <0.5.0"},{"fix":"Set 'output_dir' in config to a non-conflicting directory.","message":"CLI output directory ('build/') may conflict with existing build scripts.","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install as dev dependency: npm install --save-dev escapin. Then use npx escapin.","cause":"Escapin is not installed or not in PATH.","error":"escapin: command not found"},{"fix":"npm install -g serverless","cause":"Serverless Framework is not installed globally or locally.","error":"Error: Cannot find module 'serverless'"},{"fix":"Add a 'name' field to your configuration file (e.g., 'name': 'myapp').","cause":"Missing 'name' property in .escapinrc config.","error":"TypeError: Cannot read property 'name' of undefined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}