1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/registry/npm/chai/registry.json

1 line
11 KiB
JSON

{"name":"chai","description":"BDD/TDD assertion library for node.js and the browser. Test framework agnostic.","dist-tags":{"latest":"4.3.6"},"versions":{"4.3.6":{"author":{"name":"Jake Luer","email":"jake@alogicalparadox.com"},"name":"chai","description":"BDD/TDD assertion library for node.js and the browser. Test framework agnostic.","license":"MIT","version":"4.3.6","repository":{"type":"git","url":"git+https://github.com/chaijs/chai.git"},"bugs":{"url":"https://github.com/chaijs/chai/issues"},"main":"./index","exports":{".":{"require":"./index.js","import":"./index.mjs"},"./*":"./*"},"scripts":{"test":"make test"},"engines":{"node":">=4"},"dependencies":{"assertion-error":"^1.1.0","check-error":"^1.0.2","deep-eql":"^3.0.1","get-func-name":"^2.0.0","loupe":"^2.3.1","pathval":"^1.1.1","type-detect":"^4.0.5"},"devDependencies":{"browserify":"^16.2.3","bump-cli":"^1.1.3","codecov":"^3.0.0","istanbul":"^0.4.3","karma":"^6.1.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^2.0.1","karma-sauce-launcher":"^1.2.0","mocha":"^7.1.2"},"gitHead":"529b8b527ba99454471ac67d6aebca9d96cb5dd9","_id":"chai@4.3.6","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==","shasum":"ffe4ba2d9fa9d6680cc0b370adae709ec9011e9c","tarball":"http://localhost:4260/chai/chai-4.3.6.tgz","fileCount":50,"unpackedSize":750564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8UhgCRA9TVsSAnZWagAAv+YP/12t4uBk4xuCAA7pkDcj\nkJm0/jTdaEsIF0pyI4IDDzix91lwXhZCO5fNtlI8CYZ3NwOhtu5hROuOCAlp\ni/knLqRAilVcLpT6xNxOHtxPhaA8fMRMMyrtw029iH2nHevW3kt2kbzG3gNi\nWXO0E8EFmMURiAHKqucb9aV+Qbzh/d8Dmm67JoFPKY0bJktcbeSRB8qyNhTQ\nmTcKKpL4ZEboZ9ofpiICSLyEzmSU+3Hv53WlomWMG6nUz1+JsEZ2bXABQ6WJ\niqr+LkM2ipKgeq7ZNe1dTnY6h+1TpSXPidt6R2qtkdWavr0UuYNUp85eo0/C\n6HgtYcuYm2UysKrXJkzqpEl1FTzxo8atuVFubWphpvuPShkXpxj7Bi670Z8h\nuqpU2DX6CEZlBLhX6zF2Ly/DPDHDaKj9GMafg5g8zTOTXphnWOJ5vYmvqF7e\nTM9qwsxv1kPbZYYdmGUF1ADBDjy3vwG/+8py8j7TMLIa7LiMeR4mCUF4wLvU\nbSpxTYfAeHX7CQDTej1fD3LkwAzyBhHHEpJY2yRRwll/9FaNwb9JM8YcxpRO\nH+BsL9Mji/atpoK2WxEX/oqep17sGEA8yafHs9UiIqTo1fvunttqUwyYD+Lx\nd84syQ873+mg/tDuhx5L2AjmbANrQJAAjngMUBNOG9/NZz0sYQ9kSChqb9aK\nT/4b\r\n=ckEl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDsAllykGfti9wvQhGkKpJ7jdFVZ99oozpeX8CutT2MQIhAO3f06HA/ygzzZLliUMSLrxEdzCnQmxGZH5TQMVZVGfj"}]},"directories":{},"_hasShrinkwrap":false}},"readme":"<h1 align=center>\n <a href=\"http://chaijs.com\" title=\"Chai Documentation\">\n <img alt=\"ChaiJS\" src=\"http://chaijs.com/img/chai-logo.png\">\n </a>\n <br>\n chai\n</h1>\n\n<p align=center>\n Chai is a BDD / TDD assertion library for <a href=\"http://nodejs.org\">node</a> and the browser that can be delightfully paired with any javascript testing framework.\n</p>\n\n<p align=center>\n <a href=\"./LICENSE\">\n <img\n alt=\"license:mit\"\n src=\"https://img.shields.io/badge/license-mit-green.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://github.com/chaijs/chai/releases\">\n <img\n alt=\"tag:?\"\n src=\"https://img.shields.io/github/tag/chaijs/chai.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://www.npmjs.com/package/chai\">\n <img\n alt=\"node:?\"\n src=\"https://img.shields.io/badge/node-%3E=4.0-blue.svg?style=flat-square\"\n />\n </a>\n <br/>\n <a href=\"https://saucelabs.com/u/chaijs\">\n <img\n alt=\"Selenium Test Status\"\n src=\"https://saucelabs.com/browser-matrix/chaijs.svg\"\n />\n </a>\n <br/>\n <a href=\"https://www.npmjs.com/packages/chai\">\n <img\n alt=\"downloads:?\"\n src=\"https://img.shields.io/npm/dm/chai.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://travis-ci.org/chaijs/chai\">\n <img\n alt=\"build:?\"\n src=\"https://img.shields.io/travis/chaijs/chai/master.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://codecov.io/gh/chaijs/chai\">\n <img\n alt=\"coverage:?\"\n src=\"https://img.shields.io/codecov/c/github/chaijs/chai.svg?style=flat-square\"\n />\n </a>\n <a href=\"\">\n <img\n alt=\"devDependencies:?\"\n src=\"https://img.shields.io/david/chaijs/chai.svg?style=flat-square\"\n />\n </a>\n <br/>\n <a href=\"https://chai-slack.herokuapp.com/\">\n <img\n alt=\"Join the Slack chat\"\n src=\"https://img.shields.io/badge/slack-join%20chat-E2206F.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://gitter.im/chaijs/chai\">\n <img\n alt=\"Join the Gitter chat\"\n src=\"https://img.shields.io/badge/gitter-join%20chat-D0104D.svg?style=flat-square\"\n />\n </a>\n <a href=\"https://opencollective.com/chaijs\">\n <img\n alt=\"OpenCollective Backers\"\n src=\"https://opencollective.com/chaijs/backers/badge.svg?style=flat-square\"\n />\n </a>\n</p>\n\nFor more information or to download plugins, view the [documentation](http://chaijs.com).\n\n## What is Chai?\n\nChai is an _assertion library_, similar to Node's built-in `assert`. It makes testing much easier by giving you lots of assertions you can run against your code.\n\n## Installation\n\n### Node.js\n\n`chai` is available on [npm](http://npmjs.org). To install it, type:\n\n $ npm install --save-dev chai\n\n### Browsers\n\nYou can also use it within the browser; install via npm and use the `chai.js` file found within the download. For example:\n\n```html\n<script src=\"./node_modules/chai/chai.js\"></script>\n```\n\n## Usage\n\nImport the library in your code, and then pick one of the styles you'd like to use - either `assert`, `expect` or `should`:\n\n```js\nvar chai = require('chai'); \nvar assert = chai.assert; // Using Assert style\nvar expect = chai.expect; // Using Expect style\nvar should = chai.should(); // Using Should style\n```\n\n### Pre-Native Modules Usage (_registers the chai testing style globally_)\n\n```js\nrequire('chai/register-assert'); // Using Assert style\nrequire('chai/register-expect'); // Using Expect style\nrequire('chai/register-should'); // Using Should style\n```\n\n### Pre-Native Modules Usage (_as local variables_)\n\n```js\nconst { assert } = require('chai'); // Using Assert style\nconst { expect } = require('chai'); // Using Expect style\nconst { should } = require('chai'); // Using Should style\nshould(); // Modifies `Object.prototype`\n\nconst { expect, use } = require('chai'); // Creates local variables `expect` and `use`; useful for plugin use\n```\n\n### Native Modules Usage (_registers the chai testing style globally_)\n\n```js\nimport 'chai/register-assert'; // Using Assert style\nimport 'chai/register-expect'; // Using Expect style\nimport 'chai/register-should'; // Using Should style\n```\n\n### Native Modules Usage (_local import only_)\n\n```js\nimport { assert } from 'chai'; // Using Assert style\nimport { expect } from 'chai'; // Using Expect style\nimport { should } from 'chai'; // Using Should style\nshould(); // Modifies `Object.prototype`\n```\n\n### Usage with Mocha\n\n```bash\nmocha spec.js -r chai/register-assert # Using Assert style\nmocha spec.js -r chai/register-expect # Using Expect style\nmocha spec.js -r chai/register-should # Using Should style\n```\n\n[Read more about these styles in our docs](http://chaijs.com/guide/styles/).\n\n## Plugins\n\nChai offers a robust Plugin architecture for extending Chai's assertions and interfaces.\n\n- Need a plugin? View the [official plugin list](http://chaijs.com/plugins).\n- Want to build a plugin? Read the [plugin api documentation](http://chaijs.com/guide/plugins/).\n- Have a plugin and want it listed? Simply add the following keywords to your package.json:\n - `chai-plugin`\n - `browser` if your plugin works in the browser as well as Node.js\n - `browser-only` if your plugin does not work with Node.js\n\n### Related Projects\n\n- [chaijs / chai-docs](https://github.com/chaijs/chai-docs): The chaijs.com website source code.\n- [chaijs / assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor thrown upon an assertion failing.\n- [chaijs / deep-eql](https://github.com/chaijs/deep-eql): Improved deep equality testing for Node.js and the browser.\n- [chaijs / type-detect](https://github.com/chaijs/type-detect): Improved typeof detection for Node.js and the browser.\n- [chaijs / check-error](https://github.com/chaijs/check-error): Error comparison and information related utility for Node.js and the browser.\n- [chaijs / loupe](https://github.com/chaijs/loupe): Inspect utility for Node.js and browsers.\n- [chaijs / pathval](https://github.com/chaijs/pathval): Object value retrieval given a string path.\n- [chaijs / get-func-name](https://github.com/chaijs/get-func-name): Utility for getting a function's name for node and the browser.\n\n### Contributing\n\nThank you very much for considering to contribute!\n\nPlease make sure you follow our [Code Of Conduct](https://github.com/chaijs/chai/blob/master/CODE_OF_CONDUCT.md) and we also strongly recommend reading our [Contributing Guide](https://github.com/chaijs/chai/blob/master/CONTRIBUTING.md).\n\nHere are a few issues other contributors frequently ran into when opening pull requests:\n\n- Please do not commit changes to the `chai.js` build. We do it once per release.\n- Before pushing your commits, please make sure you [rebase](https://github.com/chaijs/chai/blob/master/CONTRIBUTING.md#pull-requests) them.\n\n### Contributors\n\nPlease see the full\n[Contributors Graph](https://github.com/chaijs/chai/graphs/contributors) for our\nlist of contributors.\n\n### Core Contributors\n\nFeel free to reach out to any of the core contributors with your questions or\nconcerns. We will do our best to respond in a timely manner.\n\n[![Jake Luer](https://avatars3.githubusercontent.com/u/58988?v=3&s=50)](https://github.com/logicalparadox)\n[![Veselin Todorov](https://avatars3.githubusercontent.com/u/330048?v=3&s=50)](https://github.com/vesln)\n[![Keith Cirkel](https://avatars3.githubusercontent.com/u/118266?v=3&s=50)](https://github.com/keithamus)\n[![Lucas Fernandes da Costa](https://avatars3.githubusercontent.com/u/6868147?v=3&s=50)](https://github.com/lucasfcosta)\n[![Grant Snodgrass](https://avatars3.githubusercontent.com/u/17260989?v=3&s=50)](https://github.com/meeber)\n","author":{"name":"Jake Luer","email":"jake@alogicalparadox.com"},"repository":{"type":"git","url":"git+https://github.com/chaijs/chai.git"},"readmeFilename":"README.md","homepage":"http://chaijs.com","bugs":{"url":"https://github.com/chaijs/chai/issues"},"license":"MIT"}