import * as core from "https://deno.land/x/core@0.1.9/util.ts";
Functions
Initials upper case | |
Format the number of bytes to be easily recognizable by humans | |
Format date with pattern string | |
Format template string with placeholder | |
Determine whether it is a plain object (the object created by {} or new Object) | |
Merge two arrays by the specify function. | |
Deep merge multiple objects | |
Generate a random number between [a,b] | |
Generate a random string with specified length | |
Strip html tags
| |
Truncate a Chinese-English mixed string of specified length A Chinese character is calculated by two characters |