From the command prompt go to your app's root folder and execute:
tns plugin add nativescript-yoga-lib
See the NativeScript CLI documentation and Nativescript Plugin documentation for more details
This plugin only provides the iOS YogaKit library from CocoaPods, and doesn't provide any JavaScript wrappers or APIs