0.0.2 • Published 2 years ago

@types/lcm v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/lcm

Summary

This package contains type definitions for lcm (https://github.com/nickleefly/node-lcm).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lcm.

index.d.ts

// Type definitions for lcm 0.0
// Project: https://github.com/nickleefly/node-lcm
// Definitions by: Remco Haszing <https://github.com/remcohaszing>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Compute the least common multiple using [Euclid’s algorithm](http://en.wikipedia.org/wiki/Euclidean_algorithm).
 *
 * @returns the least common multiple of the integers `a` and `b` using Euclid's algorithm.
 */
declare function lcm(a: number, b: number): number;

export = lcm;

Additional Details

  • Last updated: Tue, 01 Jun 2021 20:32:00 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Remco Haszing.