A minimal path module to resolve Unix, Windows and URL paths alike.
Repeat the given string n times. Fastest implementation for repeating a string.
解析包中 require 使用的包和实际 dependencies 中提供的包的分析对比.
Generate a unique character string suitible for use in files and URLs.
Require module from string
针对 PC 端的 definejs 打包成单独库的配置模板。
Slice a string with ANSI escape codes
针对移动端的 definejs 打包成单独库的配置模板。
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Utility to parse a string bytes to bytes and vice-versa
Strip redundant indentation and indent the string
Create an ArrayBuffer instance from a Data URI string
Promisifies all the selected functions in an object
Get the command from a shebang
return the github url from a package.json file
Port of C's wcwidth() and wcswidth()
Returns true if a string has an extglob.
Resolve the path of a module like `require.resolve()` but from a given path
extend like a boss
define js modules as a tree module system, tree-CMD.
Generate a unique random string
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
borderless text tables with alignment
JSON parse & stringify that supports binary via bops & base64