
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
blank-line
Advanced tools
get min/mid/max blank line length in text ( not include start/end line )
npm i blank-line
import blankLine from 'blank-line';
[
`
黑暗,无论哪里都是黑暗,感觉不到一点光线的黑暗。
最初感到不协调是气味,鼻子疼,有一股浓厚的腥臭味。然后呼吸器官开始陷入有某种胶状的污泥升上来的错觉中,被这样的不快感所震惊。
睁开双眼,一跃而起。
「--!」
映入视野中的是黑暗的回廊,没有一丝丝的光照,只有默默发光的石造房间。
环视四周,背后是小型祭坛一般的建筑。仔细观察发现「祭坛」风化严重,处在快要奔溃的边缘。
上面有小石台和两只蜡烛的残渣,还供奉着插着箭的动物皮。
`,
`
黑暗,无论哪里都是黑暗,感觉不到一点光线的黑暗。
最初感到不协调是气味,鼻子疼,有一股浓厚的腥臭味。然后呼吸器官开始陷入有某种胶状的污泥升上来的错觉中,被这样的不快感所震惊。
睁开双眼,一跃而起。
「--!」
映入视野中的是黑暗的回廊,没有一丝丝的光照,只有默默发光的石造房间。
环视四周,背后是小型祭坛一般的建筑。仔细观察发现「祭坛」风化严重,处在快要奔溃的边缘。
上面有小石台和两只蜡烛的残渣,还供奉着插着箭的动物皮。
`,
`
黑暗,无论哪里都是黑暗,感觉不到一点光线的黑暗。
最初感到不协调是气味,鼻子疼,有一股浓厚的腥臭味。然后呼吸器官开始陷入有某种胶状的污泥升上来的错觉中,被这样的不快感所震惊。
睁开双眼,一跃而起。
「--!」
映入视野中的是黑暗的回廊,没有一丝丝的光照,只有默默发光的石造房间。
环视四周,背后是小型祭坛一般的建筑。仔细观察发现「祭坛」风化严重,处在快要奔溃的边缘。
上面有小石台和两只蜡烛的残渣,还供奉着插着箭的动物皮。
`,
`
黑暗,无论哪里都是黑暗,感觉不到一点光线的黑暗。
最初感到不协调是气味,鼻子疼,有一股浓厚的腥臭味。然后呼吸器官开始陷入有某种胶状的污泥升上来的错觉中,被这样的不快感所震惊。
睁开双眼,一跃而起。
「--!」
映入视野中的是黑暗的回廊,没有一丝丝的光照,只有默默发光的石造房间。
环视四周,背后是小型祭坛一般的建筑。仔细观察发现「祭坛」风化严重,处在快要奔溃的边缘。
上面有小石台和两只蜡烛的残渣,还供奉着插着箭的动物皮。
`,
].forEach(function (value, index, array)
{
console.log(index, blankLine(value));
});
//0 [ 2, 2, 2 ]
//1 [ 1, 2, 3 ]
//2 [ 2, 6, 11 ]
//3 [ 1, 1, 1 ]
FAQs
get min/mid/max blank line length in text ( not include start/end line )
The npm package blank-line receives a total of 51 weekly downloads. As such, blank-line popularity was classified as not popular.
We found that blank-line demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.