The present invention relates to azetidine and cyclobutane derivatives, as well as their compositions, methods of use, and processes for preparation, which are JAK inhibitors useful in the treatment of JAK-associated diseases including, for example, inflammatory and autoimmune disorders, as well as cancer.本發明係關於氮雜環丁烷與環丁烷衍生物,以及其組合物,使用方法,及製備方法,其係為可用於治療JAK有關聯疾病之JAK抑制劑,該疾病包括例如炎性與自身免疫病症,以及癌症。