Skip to content

silkietools/demo-palantir-compute-modules-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

demo-palantir-compute-modules-js

JavaScript Palantir Compute Module template/demo with sample handlers for arithmetic, greeting, and environment inspection.

Node Compute Module Docker License: MIT

What It Does

  • Boots a compute module runtime with @palantir/compute-module.
  • Registers simple sample handlers (sum, hello, getEnv).
  • Demonstrates grouping/filtering environment variables for runtime diagnostics.
  • Serves as a lightweight template for new JS compute modules.

How It Works

  • index.js initializes a ComputeModule instance.
  • Handlers are registered directly on the module.
  • getEnv filters noisy prefixes and groups keys by suffix patterns.

API Surface

Function Input Output Notes
sum { a: number, b: number } string Returns sum as string.
hello { name: string } string Returns greeting message.
getEnv optional filter/group config object grouped env object Intended for debug visibility of runtime env vars.

Quick Start

./startup.sh
source startup.sh
npm install
node index.js

Testing And CI

Layer Present Tooling Runs in CI
unit no none no
integration no none no
e2e api no none no
e2e web no none no

No automated tests or CI workflow are currently configured in this repository.

Deployment And External Services

  • Containerized runtime is provided via Dockerfile.
  • No external service dependency is required by default handlers.

License

MIT (LICENSE).

About

JavaScript Palantir Compute Modules demo for retail data ingestion workflows and SMB commerce automation.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors