Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OnikurYH/deno-prettystring
A deno module for format, trim and remove extra white spaces between characters. Make paragraph looks organised.
https://github.com/OnikurYH/deno-prettystring
deno pretty string string-manipulation typescript
Last synced: about 1 month ago
JSON representation
A deno module for format, trim and remove extra white spaces between characters. Make paragraph looks organised.
- Host: GitHub
- URL: https://github.com/OnikurYH/deno-prettystring
- Owner: OnikurYH
- License: mit
- Created: 2019-10-26T15:46:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T02:00:11.000Z (about 5 years ago)
- Last Synced: 2024-08-02T10:20:26.377Z (4 months ago)
- Topics: deno, pretty, string, string-manipulation, typescript
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-deno-cn - @OnikurYH/deno-prettystring
- awesome-deno - deno-prettystring - Format, trim and remove extra white spaces between characters from string.![GitHub stars](https://img.shields.io/github/stars/OnikurYH/deno-prettystring?style=plastic) (Modules / Online Playgrounds)
- awesome-deno - deno-prettystring - Format, trim and remove extra white spaces between characters from string. (Modules / String utils)
- awesome-deno - deno-prettystring - 格式化,修剪和删除字符串中字符之间的多余空白。 (Uncategorized / Uncategorized)
README
# deno-prettystring
> A deno module for trim and remove extra spaces between characters. Make paragraph looks organised.
## Usage
```ts
import prettystring from "https://deno.land/x/prettystring/mod.ts";const formattedEnglish = prettystring(
"prettystring can make a paragraph looks better !"
);
// prettystring can make a paragraph looks better!const fomattedMixedCharacters = prettystring(
" 這個 prettystring 可 以 使段落看 起來 更好 ! 良 い で す 。 ε٩(๑> ₃ <)۶з"
);
// 這個 prettystring 可以使段落看起來更好!良いです。 ε٩(๑> ₃ <)۶з
```You could find more use cases in `test.ts`
## Run test
```ts
deno test.ts
```## Copyright and license
Licensed under the MIT license.