0.2.4 • Published 4 years ago

@erin-l-moore/is-thirteen-with-wasm v0.2.4

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

find out if it's 13...... with near-native performance

how to use this library

Give a value to the function, is_thirteen(var), and it will return a boolean that tells you if the value is 13.

run tests: cargo test

npm install: npm i @erin-l-moore/is-thirteen-with-wasm

sample import and usage:

const find_out = async possibly_thirteen => {
  var wasm = await import("@erin-l-moore/is-thirteen-with-wasm")
  return wasm.is_thirteen(possibly_thirteen)
}

find_out("13") -> returns true find_out("thirteen") -> returns true find_out("12") -> returns false

inspired by (and canonical list of thirteens borrowed under license from): is-thirteen

0.2.4

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago