Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 790 Bytes

File metadata and controls

41 lines (27 loc) · 790 Bytes
tags
node
minimal
typescript

"Hello, World!" TypeScript Project

You can use npm or pnpm (or probably yarn), but this README shows examples using pnpm

Project setup

You must first download the example with the following command:

git clone --depth=1 https://github.com/adap/flower.git _tmp && mv _tmp/intelligence/ts/examples/hello-world-ts . && rm -rf _tmp && cd hello-world-ts

You can then install the project dependencies with:

pnpm i

Build

If you want to build the project, you can use:

pnpm build

Run

In order to run the example once the project has been built:

node dist/index.js
You can also use `pnpm start` to perform the installation, build, and run steps at the same time.