Search code examples
nativescript

What's the difference of tns and ns in nativescript?


I'm just learning nativescript now and I saw some examples use tns and another is ns what's the difference? Which one should I really be using?


Solution

  • They are the same, ns is the new standard as of NativeScript 7 which was released in August 2020.

    As mentioned in this blogpost, tns will always work for historical reason, and ns is the new standard. There is also nsc which should work the same way.