@egomobile/type-utils
TypeScript utilities and helpers.
Install
Execute the following command from your project folder, where your package.json file is stored:
npm install --save @egomobile/type-utilsUsage
import { scanForTypes } from "@egomobile/type-utils";
const dir = "<PATH-TO-THE-ROOT-DIRECTORY-TO-SCAN>";
async function main() {
const types = await scanForTypes(dir);
console.log("Loaded types:", types);
}
main().catch(console.error);Documentation
The API documentation can be found here.
On this page
Contributors
GNU Lesser General Public License v3.0
Created February 26, 2023
Updated May 22, 2024