Skip to content

Releases: apteryxxyz/jswhat

2.0.1

22 Sep 07:02
Compare
Choose a tag to compare

This release fixes an issue with inconsistent methods of requiring and importing.

It is now

const what = require('jswhat'); // CommonJS
// OR
import what from 'jswhat'; // ESM, TypeScript

2.0.0

17 Jun 18:05
Compare
Choose a tag to compare
  • TypeScript rewrite.

Initial Full Release

08 Jul 02:40
Compare
Choose a tag to compare

Initial full release 1.0.0

  • Rewrote to use only one codebase.
  • Added support for Deno.
  • Now supports node versions 0.12.0 and above.
  • Added short names to regexes.
  • Added categories to regexes.
  • Added more options:
    • promise
    • throwError