New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/string-math

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/string-math

TypeScript definitions for string-math

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1.7K
44.84%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/string-math

Summary

This package contains type definitions for string-math (https://github.com/devrafalko/string-math).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string-math.

index.d.ts

// Type definitions for string-math 1.0
// Project: https://github.com/devrafalko/string-math
// Definitions by: Rouzwelt <https://github.com/rouzwelt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Resolves arithmetical equation
 * @param eq - Equation to resolve
 * @param callback - (optional) Callback function for error and result
 */
declare function stringMath(
    eq: string,
    callback?: (errorObj: Error | null, result: number | null) => void,
): number | null;

export = stringMath;

Additional Details

  • Last updated: Mon, 25 Sep 2023 13:39:06 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Rouzwelt.

FAQs

Package last updated on 25 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts