mathstrings

Mathstring tools

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
mathstrings
1.0.24 years ago5 years agoMinified + gzip package size for mathstrings in KB

Readme

Build Status npm version Downloads
mathstrings
Math string tools

API

validate()

const validate = require('mathstrings')

expect(validate('2 + 2', '+')).toBeTruthy()
expect(validate('2 + ', '+')).toBeFalsy()

TODO

  • divide by zero
  • custom keys