</>PackageGraphPackageGraph

type-detect

npmv4.1.0

Improved typeof detection for node.js and the browser.

0
Weekly downloads
1
Dependents
34
Dependencies
2/100
Popularity

Overview

type-detect is an npm package that improved typeof detection for node.js and the browser. The latest version is 4.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need improved typeof detection for node.js and the browser and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • Large dependency tree (34 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of type-detect.

@sinonjs/commonstype-detect
type-detect dependencies dependents

Dependencies

Dev (34)

@commitlint/cli ^13.1.0@rollup/plugin-buble ^0.21.3@rollup/plugin-commonjs ^20.0.0@rollup/plugin-node-resolve ^13.0.5@typescript-eslint/eslint-plugin ^4.31.2@typescript-eslint/parser ^4.31.2benchmark ^2.1.4buble ^0.20.0codecov ^3.8.3commitlint-config-angular ^13.1.0cross-env ^7.0.3eslint ^7.32.0eslint-config-strict ^14.0.1eslint-plugin-filenames ^1.3.2husky ^7.0.2karma ^6.3.4karma-chrome-launcher ^3.1.0karma-coverage ^2.0.3karma-detect-browsers ^2.3.3karma-edge-launcher ^0.4.2karma-firefox-launcher ^2.1.1karma-ie-launcher ^1.0.0karma-mocha ^2.0.1karma-opera-launcher ^1.0.0karma-safari-launcher ^1.0.0karma-safaritechpreview-launcher ^2.0.2karma-sauce-launcher ^4.3.6mocha ^9.1.1nyc ^15.1.0rollup ^2.57.0rollup-plugin-istanbul ^3.0.0semantic-release ^18.0.0simple-assert ^1.0.0typescript ^4.4.3

Used by

Popular packages that depend on type-detect.

Alternatives to type-detect

Frequently installed together

Version history

VersionPublishedLicense
4.1.0latest2 years agoMIT
4.0.88 years agoMIT
4.0.78 years agoMIT
4.0.68 years agoMIT
4.0.58 years agoMIT
4.0.39 years agoMIT
4.0.29 years agoMIT
4.0.19 years agoMIT
4.0.09 years agoMIT
3.0.09 years agoMIT
2.0.210 years agoMIT
2.0.110 years agoMIT
2.0.010 years agoMIT
1.0.011 years agoMIT
0.1.212 years agoMIT
0.1.112 years agoMIT
0.1.013 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install type-detect?

Run `npm install type-detect` to add type-detect to your npm project.

What license is type-detect released under?

type-detect is distributed under the MIT license.

How popular is type-detect?

type-detect has approximately 0 downloads per week and 1 known dependent packages.