Back to Explore

jonschlinkert/kind-of

GitHub
1 watchersOpen source

Last release: 1/16/2020

kind-of is a fast JavaScript utility that returns the native type of a value (for example, `string`, `array`, `date`, `regexp`, `map`, `set`, and others). It is useful when you need more consistent or better type checking than plain `typeof`, and it is used by other libraries such as superstruct and micromatch.

Project status

  • The source appears to be maintained but with infrequent published updates, with an upstream push timestamp recorded at 2024-06-12, even though the most recent listed update is 6.0.3 dated 2020-01-16.
  • Apparent update cadence is low, with large gaps between updates (2020-01-16, then 2017-12-01, then 2014-10-26), suggesting a “stable but occasionally updated” pattern.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 6.0.3

    1/16/2020

    Release 6.0.3 is a small patch release that primarily updates internal type-detection logic and bumps the package version. The only actual code behavior change visible in the diff is in how the library determines an object's constructor name, plus related changes in the generated browser bundle.

  • 6.0.2

    12/1/2017

    No release notes were provided for version 6.0.2. However, the code diff shows a large refactor of the main `kind-of` implementation (from a small type check to a significantly more comprehensive classifier), plus major additions to tests/benchmarks and repository tooling configuration.

    BreakingFeatures
  • v0.1.2

    10/26/2014

    Release v0.1.2 was published on 2014-10-26, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, security, or migrations in this release.