JSPM

  • Created
  • Published
  • Downloads 183507
  • Score
    100M100P100Q179133F
  • License Apache-2.0

Collection of 50+ type, feature & value checks

Package Exports

  • @thi.ng/checks
  • @thi.ng/checks/implements-function
  • @thi.ng/checks/is-array
  • @thi.ng/checks/is-arraylike
  • @thi.ng/checks/is-date
  • @thi.ng/checks/is-function
  • @thi.ng/checks/is-iterable
  • @thi.ng/checks/is-map
  • @thi.ng/checks/is-node
  • @thi.ng/checks/is-not-string-iterable
  • @thi.ng/checks/is-number
  • @thi.ng/checks/is-plain-object
  • @thi.ng/checks/is-promise
  • @thi.ng/checks/is-regexp
  • @thi.ng/checks/is-set
  • @thi.ng/checks/is-string
  • @thi.ng/checks/is-transferable
  • @thi.ng/checks/is-typedarray

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/checks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

checks

npm version npm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

Collection of 50+ type, feature & value checks.

Status

STABLE - used in production

Search or submit any issues for this package

Installation

yarn add @thi.ng/checks
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/checks?module" crossorigin></script>

// UMD
<script src="https://unpkg.com/@thi.ng/checks/lib/index.umd.js" crossorigin></script>

Package sizes (gzipped, pre-treeshake): ESM: 1.63 KB / CJS: 1.89 KB / UMD: 1.59 KB

Dependencies

API

Generated API docs

TODO

Authors

Maintainer

Contributors

If this project contributes to an academic publication, please cite it as:

@misc{thing-checks,
  title = "@thi.ng/checks",
  author = "Karsten Schmidt and others",
  note = "https://thi.ng/checks",
  year = 2016
}

License

© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0