https://github.com/annastacia-dev/typescript-basics
https://github.com/annastacia-dev/typescript-basics
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/annastacia-dev/typescript-basics
- Owner: Annastacia-dev
- Created: 2023-02-14T10:27:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T07:03:54.000Z (about 2 years ago)
- Last Synced: 2025-01-06T19:17:22.589Z (4 months ago)
- Language: TypeScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typescript-basics
A collection of TypeScript examples that I've created to help me learn the language.
## Installations
Assuming you have [Node.js](https://nodejs.org/en/) installed, you can install TypeScript using npm.
To install TypeScript, you can use npm:
```bash
npm install -g typescript
```You should also install ts-node, which is a TypeScript execution and REPL for node.js, with the following command:
```bash
npm install -g ts-node
```You can also use the [TypeScript Playground](https://www.typescriptlang.org/play/) to try out TypeScript without installing anything on your computer.
## Getting Started
To get started, clone the repository and install the dependencies:
```bash
git clone [email protected]:Annastacia-dev/typescript-basics.git
cd typescript-basics
npm install
```