@abduraim.t/npm-pack 中文文档教程
从字符串中删除所有空格。
Install
$ npm install @bamblehorse/tiny
Usage
const tiny = require("@bamblehorse/tiny");
tiny("So much space!");
//=> "Somuchspace!"
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1
Removes all spaces from a string.
Install
$ npm install @bamblehorse/tiny
Usage
const tiny = require("@bamblehorse/tiny");
tiny("So much space!");
//=> "Somuchspace!"
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1
更多
你可能也喜欢
- @0x-lerna-fork/diff 中文文档教程
- @0x706b/ts-transform-fix-esm 中文文档教程
- @0xcert/ethereum-xcert 中文文档教程
- @0xcert/ethereum-xcert-contracts 中文文档教程
- @0xproject/utils 中文文档教程
- @2bitgmbh/e2e-page-objects 中文文档教程
- @3merge/express-auth-middleware 中文文档教程
- @3yaa3yaa/markdowntextbox 中文文档教程
- @4djs/gql-types 中文文档教程
- @_nu/react-button 中文文档教程