Stats

 Latest version : 1.0.9

 Last updated on 2019-02-18T13:40:03.918Z

 Keywords : typescript, serverless, lambda, function, functional, faas, rpc, http, server, dev, client, jsonrpc, json, jsonschema, stdlib

 Downloads :

  • 72 in Last Month

 Links :

 Examples

¯\_(ツ)_/¯
No examples found for this package

 Readme

FTS Logo

Dev Server for Functional TypeScript.

NPM Build Status JavaScript Style Guide

See the main docs for more info on FTS in general.

Install

npm install -g fts-dev

Usage

Say we have the following FTS function:

// example.ts
export function example(name: string, date: Date): string {
  return `${name}: ${date}`
}

You can easily create a local dev server for this function with:

fts-dev example.ts

The server defaults to port 3000.

License

MIT © Travis Fischer

 Comments