type-detect
type-detect copied to clipboard
Improved typeof detection for node.js and the browser.
Hi, I'm trying to use chai 4.3.4 in an environment that is neither node.js or the browser, and it works fine except for the fact that the polyfill to detect...
the various `rollup-plugin-*` are deprecated, use instead `@rollup/plugin-*`
Updated Rollup config and package.json. Test Log: https://pastebin.com/raw/Yv8nr3Mm
- link to deno was missing the text "deno" and the closing tag - Node became Node.js, and deno became Deno. PS. Can you opt this repo in to hacktoberfest?
README.md mentions some features only in passing, without supporting documentation, thus leaving some features 'hidden' and unusable. It mentions ES2015 support and documents many of the added APIs, but not...
hi all, This library introduces some types that don't exist in ES5 and I found it slightly annoying to do a guesswork, which type starts with capital letter and which...
We have specific conformance checks for `td` elements being `HTMLTableDataCellElement` and `th` being `HTMLTableHeaderCellElement` - as per what was (at the time) the WHATWG Spec. However the WHATWG Spec has...
I think, tests should pass: ``` const type = require('type-detect'); const assert = require('assert'); const asyncFn = async () => {}; const generatorFn = function* generator () {}; function getTag(obj)...
`function` is not primitive so you should definitely return 'Function' instead