Skip to content

liammclennan/Prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus

Prometheus is a pre-alpha project (most of mine stay that way) that converts an F# assembly to a TypeScript file containing class equivalents of all the records in the F# assembly.

Usage

Prometheus path\to\my\assembly.dll

Example

The following F# module

namespace MyModels

    type Address = { number: int; street: string }
    type Person = { name: string; age: int; address: Address }

will be converted to

module MyModels { 
    export class Address {
		constructor(public number: number, public street: string) {}
	}
}

module MyModels { 
	export class Person {
		constructor(public name: string, public age: number, public address: Address) {}
	}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages