2025-09-11 13:45:35 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:45:35 +02:00
2025-09-11 13:41:58 +02:00
2025-09-11 13:44:04 +02:00
2025-09-11 13:41:58 +02:00

Library template

Basic template to create a TypeScript library that works properly when included

How to split in multiple file

Technically, there is nothing to do, but if you want to allow sub-imports, you have to :

  1. In package.json, under exports, add "./submodule": "./src/submodule.ts"
  2. In tsconfig.json, under paths, add "lib-name/*": ["./src/*"]
S
Description
Parse a configuration from env variables, using a type description
Readme 102 KiB
Languages
TypeScript 100%