complexity-wasm
TypeScript icon, indicating that this package has built-in type declarations

0.4.2 • Public • Published

complexity-wasm

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.

License

Copyright 2020-2023 Giorgio Garasto, Josh Clayton and thoughtbot, inc. See the LICENSE.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i complexity-wasm

      Weekly Downloads

      0

      Version

      0.4.2

      License

      MIT

      Unpacked Size

      20.3 kB

      Total Files

      6

      Last publish

      Collaborators

      • dabolus