Registry / aws / escapin

escapin

JSON →
library0.4.9jsnpmunverified

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.

npm install escapin
INSTALL
IMPORT
SIG · ESCAPIN
E
escapin
awsjavascriptv0.4.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

escapin CLI
npx escapin
require('escapin')
Escapin is primarily a CLI tool; there is no programmatic API exported.
escapin config file
.escapinrc.js
.escapinrc.ts
Configuration files can be JSON, YAML, or JS (CommonJS). TypeScript config is not supported directly.
escapin output
escapin transpiles code to ./build/ by default
The output directory is configurable via 'output_dir' in config.

This package.json snippet shows the minimal setup to build and deploy a serverless application with Escapin and the Serverless Framework.

{ "scripts": { "build": "escapin", "start": "cd build && serverless deploy" } }
escapin --version
Debug
Known issues
gotchaRequires Node.js >=10 and the Serverless Framework globally installed.
fix
Install Serverless Framework via npm install -g serverless.
affects: >=0.4.0
gotchaEscapin only supports a limited set of cloud providers; likely AWS only.
fix
Ensure your target platform (e.g., aws) is configured in .escapinrc.
affects: >=0.4.0
deprecatedThe 'default_storage' config option may be deprecated; use 'storage' instead.
fix
Replace 'default_storage' with 'storage' in config.
affects: >=0.4.0 <0.5.0
gotchaCLI output directory ('build/') may conflict with existing build scripts.
fix
Set 'output_dir' in config to a non-conflicting directory.
affects: >=0.4.0
Errors
Common errors & fixes
escapin: command not found
Escapin is not installed or not in PATH.
fix
Install as dev dependency: npm install --save-dev escapin. Then use npx escapin.
Error: Cannot find module 'serverless'
Serverless Framework is not installed globally or locally.
fix
npm install -g serverless
TypeError: Cannot read property 'name' of undefined
Missing 'name' property in .escapinrc config.
fix
Add a 'name' field to your configuration file (e.g., 'name': 'myapp').
Upgrade
Version history
0.4.9latest on npm
Audit
Dependencies
serverlessrequiredRequired for deploying transpiled applications to cloud providers (e.g., AWS).
axiosoptionalOften used as HTTP client in transpiled code; can be configured in escapin config.
Agent activity
16 hits · last 30 days
node
16
Resources
escapin — npm install escapin · libregistry