In order to activate a feature via the client side we simply have to know the GUID of the feature.
If this is a site scoped feature this is pretty straight forward.
The following can be run from a script editor webpart;
We can then use the GUID found with the next function
This is especially useful when running with a function that manages site creation.
https://abhisheksahayblog.wordpress.com/2016/04/18/method-to-disable-spo-features-using-csom/
LikeLike