Rust complexity library compiled to WASM.
This port exposes a single function with the following signature:
export function computeComplexity(input: string, algorithm?: string): number;
Where algorithm
is one of the following:
standard
length
For more information, take a look at the original repo.
Copyright 2020-2023 Giorgio Garasto, Josh Clayton and thoughtbot, inc. See the LICENSE.