2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +02:00
2025-09-11 09:45:24 +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
Homemade logger, a mix of Rust crates log and simplelog
Readme 77 KiB
Languages
TypeScript 100%