How to dynamically create canisters using azle (typescript)

I want to create a main canister which will deploy child canisters . The project is developed in azle(typescript) . The code for the child canisters has to be stored in the main canister what is the best way to do this . The child canister is a ICRC-1 type canister so its quite large