Magic Len (Ron Li)'s repositories
node-fast-string-search
Fast search substrings in a string by using N-API and boyer-moore-magiclen.
node-stringbuilder
An easy and fast in-memory string builder for Node.js.
entity-tag
This crate provides a `EntityTag` structure and functions to deal with the ETag header field of HTTP.
node-magiccrypt
MagicCrypt is a Java/PHP/NodeJS/Rust library to encrypt/decrpyt strings, files, or data, using Data Encryption Standard(DES) or Advanced Encryption Standard(AES) algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, 192 or 256-bits key length. If the encrypted data is a string, it will be formatted automatically to Base64.
trim-in-place
In-place trimming strings.
ts-short-crypt
ShortCrypt is a very simple encryption library, which aims to encrypt any data into something random at first glance.
benchmarking
This crate can be used to execute something and measure the execution time in nano seconds. It does not output anything to the screen and the filesystem.
html-outliner
Outline HTML documents for better SEO.
node-int32
Use Rust to compute 32-bit signed integers and wrap around at the boundary.
node-int64
Use N-API to compute 64 bits integers.
node-qr-code
Encode QR Code by using N-API.
adblock-checker
Check if the current web browser has any ad blockers (AdBlock, Adblock Plus, uBlock, AdGuard, ...) enabled.
debug-helper
This crate provides declarative macros to help you implement the `Debug` trait manually.
node-meminfo
Get memory information on Linux.
node-sysconf
Get configurable system variables.
same-content
Determine whether data from different sources are the same.
slash-formatter
This crate provides functions to deal with slashes and backslashes in strings.
ts-tw-id-num
Check or generate Taiwan ID numbers. 檢查或是產生中華民國國民身分證統一編號(即身份證字號,而非營業人統一編號),支援新式外來人口統一證號。也特別支援舊式外來人口統一證號的檢查。
assert-eq-float
This crate provides the `assert_eq_float!` macro that supports floats.
fit-html-text
Fit text into its surrounding container.
html-auto-p
This library provides a function like `wpautop` in Wordpress. It uses a group of regex replaces used to identify text formatted with newlines and replace double line-breaks with HTML paragraph tags.
input-time-helper
Intuitively (by using local time) get/set the value of a date- or time-based HTML input element.
run-with-node-env
Set the `NODE_ENV` variable on all platforms. Without `cross-spawn`, very slim.
ts-paginator
This library is used for generating pagination bar.