Publishing a Typescript library

In order to share common Typescript code between repositories, I want to create a TS library. However, creating a new code repository and clicking the “Library” tab, it only shows Python libraries, not TS.

Is there a way to publish a TS library through code repositories or any other recommended way of sharing TS code between repos?

3 Likes

To share TypeScript code between repositories, you could use query-functions if the functions have no side effects
https://www.palantir.com/docs/foundry/functions/query-functions/

1 Like

@nscherer

I created a library
https://community.palantir.com/t/creating-a-typescript-library/1689

1 Like