# Criando uma biblioteca TypeScript

Começaremos criando o diretório do projeto e alguns arquivos como package.json e tsconfig.json. Usarei como exemplo uma biblioteca para requisições HTTP, mas você pode escolher qualquer coisa.

Use seu terminal para executar os comandos a seguir.

```bash
mkdir http

cd http

npm init -y

npm install --save-dev typescript

npx tsc --init
```

Pausado, logo continuo...


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.guiseek.dev/hard/criando-uma-biblioteca-typescript.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
