We introduce a new class of functions, called the $\mathcal{N}_p$-spaces and study the boundedness and compactness of composition operators on $\mathcal{N}_p$-spaces as well as between $\mathcal{N}_p$-spaces and Bergman-type spaces. The paper is intended to give a self-contained introduction the the $\mathcal{N}_p$-spaces.