Yarn
  • 新手指南
  • 文档
  • 包
  • 博客
  • 中文
    English Français Português (Brasil) 中文
  • Discord Discord
  • Twitter Twitter
  • Facebook Facebook
  • Github GitHub
找到 1,680 个包,花费 9 毫秒
string-length163.8mMIT6.0.0

Get the real length of a string

  • by correctly counting astral symbols and ignoring ansi escape codes

sindresorhusabout 2 years 前string, length, unicode, size
npmGitHub
utf8-byte-length12.2m(WTFPL OR MIT)1.0.5

Get utf8 byte length of string

parshapabout 1 year 前utf8
npmGitHub
truncate-utf8-bytes11.6mWTFPL1.0.2

Truncate string to given length in bytes

parshapalmost 3 years 前truncate, utf8
npmGitHub
printable-characters6.7mUnlicense1.0.42

A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.

xplalmost 3 years 前string length, real string length, string length, real string length
npmGitHub
byte-length673.1kMIT1.0.2

Get the real byte length of a string.

DylanPierceyabout 3 years 前content-length, length, string, bytes
npmGitHub
  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • ›
用 Algolia 搜索 - 看它是怎么工作的.

包

debug-jsdebug

Lightweight debugging utility for Node.js and the browser

debug, log, debugger
lodashlodash

Lodash modular utilities.

modules, stdlib, util
facebookreact

React is a JavaScript library for building user interfaces.

react
ljharbqs

A querystring parser that supports nesting and arrays, with a depth limit

querystring, qs, query, url
caolanasync

Higher-order functions and common patterns for asynchronous code

async, callback, module, utility
babelbabel-core

Babel compiler core.

6to5, babel, classes, const

Yarn 在 BSD 协议下发布 行为守则
编辑本页