count-lines
Count the lines in a string, works with windows carriage returns or unix style newlines.
2 个版本
安装
npm install count-lines
yarn add count-lines
pnpm add count-lines
bun add count-lines
