web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. # has-bigints <sup>[![Version Badge][2]][1]</sup>
  2. [![dependency status][5]][6]
  3. [![dev dependency status][7]][8]
  4. [![License][license-image]][license-url]
  5. [![Downloads][downloads-image]][downloads-url]
  6. [![npm badge][11]][1]
  7. Determine if the JS environment has BigInt support.
  8. ## Example
  9. ```js
  10. var hasBigInts = require('has-bigints');
  11. hasBigInts() === true; // if the environment has native BigInt support. Not polyfillable, not forgeable.
  12. ```
  13. ## Tests
  14. Simply clone the repo, `npm install`, and run `npm test`
  15. [1]: https://npmjs.org/package/has-bigints
  16. [2]: https://versionbadg.es/ljharb/has-bigints.svg
  17. [5]: https://david-dm.org/ljharb/has-bigints.svg
  18. [6]: https://david-dm.org/ljharb/has-bigints
  19. [7]: https://david-dm.org/ljharb/has-bigints/dev-status.svg
  20. [8]: https://david-dm.org/ljharb/has-bigints#info=devDependencies
  21. [9]: https://ci.testling.com/ljharb/has-bigints.png
  22. [10]: https://ci.testling.com/ljharb/has-bigints
  23. [11]: https://nodei.co/npm/has-bigints.png?downloads=true&stars=true
  24. [license-image]: https://img.shields.io/npm/l/has-bigints.svg
  25. [license-url]: LICENSE
  26. [downloads-image]: https://img.shields.io/npm/dm/has-bigints.svg
  27. [downloads-url]: https://npm-stat.com/charts.html?package=has-bigints