{"_id":"@nightwatch/chai","_rev":"2978915","name":"@nightwatch/chai","description":"A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.","dist-tags":{"latest":"5.0.2"},"maintainers":[{"name":"admiral_puri","email":""},{"name":"automatedtester","email":"david.burns@theautomatedtester.co.uk"},{"name":"beatfactor","email":""},{"name":"garg3133","email":""},{"name":"gravityvi","email":""},{"name":"harshit-bs","email":""},{"name":"swrdfish","email":""},{"name":"vaibhavsingh97","email":""}],"time":{"modified":"2023-06-26T03:56:10.000Z","created":"2022-01-20T15:15:27.334Z","5.0.2":"2022-03-23T08:10:05.389Z","5.0.1":"2022-01-20T15:15:27.334Z"},"users":{},"author":{"name":"Jake Luer","email":"jake@alogicalparadox.com"},"repository":{"type":"git","url":"git+https://github.com/chaijs/chai.git"},"versions":{"5.0.2":{"author":{"name":"Jake Luer","email":"jake@alogicalparadox.com"},"publishConfig":{"access":"public"},"name":"@nightwatch/chai","description":"A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.","keywords":["test","assertion","assert","testing","chai"],"homepage":"http://chaijs.com","license":"MIT","contributors":[{"name":"Jake Luer","email":"jake@alogicalparadox.com"},{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},{"name":"Veselin Todorov","email":"hi@vesln.com"},{"name":"John Firebaugh","email":"john.firebaugh@gmail.com"}],"version":"5.0.2","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":{"prebuild":"npm run clean","build":"browserify --bare --outfile chai.js --standalone chai --entry index.js","pretest":"npm run build","test":"npm run test-node && npm run test-chrome","test-node":"mocha --require ./test/bootstrap/index.js --reporter dot test/*.js test/*.mjs","test-chrome":"karma start karma.conf.js --single-run --browsers HeadlessChrome","test-firefox":"karma start karma.conf.js --browsers Firefox","test-cov":"istanbul cover ./node_modules/.bin/_mocha -- --require ./test/bootstrap/index.js test/*.js test/*.mjs","clean":"rm -f chai.js coverage"},"engines":{"node":">=12"},"dependencies":{"assertion-error":"1.1.0","check-error":"1.0.2","deep-eql":"4.0.1","loupe":"2.3.4","pathval":"1.1.1","type-detect":"4.0.8"},"devDependencies":{"browserify":"^17.0.0","bump-cli":"^2.3.1","codecov":"^3.8.1","istanbul":"^0.4.3","karma":"^6.1.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-mocha":"^2.0.1","karma-sauce-launcher":"^4.3.5","mocha":"^9.1.4"},"gitHead":"5e0a04068e69bb301d01ef690f6006a1e9f5ec16","_id":"@nightwatch/chai@5.0.2","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"shasum":"86b20908fc090dffd5c9567c0392bc6a494cc2e6","size":145416,"noattachment":false,"key":"/@nightwatch/chai/-/@nightwatch/chai-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nightwatch/chai/download/@nightwatch/chai-5.0.2.tgz"},"_npmUser":{"name":"beatfactor","email":"beatfactor@hotmail.com"},"directories":{},"maintainers":[{"name":"admiral_puri","email":""},{"name":"automatedtester","email":"david.burns@theautomatedtester.co.uk"},{"name":"beatfactor","email":""},{"name":"garg3133","email":""},{"name":"gravityvi","email":""},{"name":"harshit-bs","email":""},{"name":"swrdfish","email":""},{"name":"vaibhavsingh97","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai_5.0.2_1648023005086_0.8951414854437529"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-23T08:10:26.383Z","publish_time":1648023005389,"_cnpm_publish_time":1648023005389},"5.0.1":{"author":{"name":"Jake Luer","email":"jake@alogicalparadox.com"},"publishConfig":{"access":"public"},"name":"@nightwatch/chai","description":"A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.","keywords":["test","assertion","assert","testing","chai"],"homepage":"http://chaijs.com","license":"MIT","contributors":[{"name":"Jake Luer","email":"jake@alogicalparadox.com"},{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},{"name":"Veselin Todorov","email":"hi@vesln.com"},{"name":"John Firebaugh","email":"john.firebaugh@gmail.com"}],"version":"5.0.1","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":{"prebuild":"npm run clean","build":"browserify --bare --outfile chai.js --standalone chai --entry index.js","pretest":"npm run build","test":"npm run test-node && npm run test-chrome","test-node":"mocha --require ./test/bootstrap/index.js --reporter dot test/*.js test/*.mjs","test-chrome":"karma start karma.conf.js --single-run --browsers HeadlessChrome","test-firefox":"karma start karma.conf.js --browsers Firefox","test-cov":"istanbul cover ./node_modules/.bin/_mocha -- --require ./test/bootstrap/index.js test/*.js test/*.mjs","clean":"rm -f chai.js coverage"},"engines":{"node":">=12"},"dependencies":{"assertion-error":"1.1.0","check-error":"1.0.2","deep-eql":"4.0.0","loupe":"2.3.0","pathval":"1.1.1","type-detect":"4.0.5"},"devDependencies":{"browserify":"^17.0.0","bump-cli":"^2.3.1","codecov":"^3.8.1","istanbul":"^0.4.3","karma":"^6.1.1","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-mocha":"^2.0.1","karma-sauce-launcher":"^4.3.5","mocha":"^9.1.4"},"gitHead":"9f3b54644e49c978b4e9ea3275b7ecc153264865","_id":"@nightwatch/chai@5.0.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"shasum":"d776a7d3d8b3309d4c2d7bf140bb948e96e53a64","size":146467,"noattachment":false,"key":"/@nightwatch/chai/-/@nightwatch/chai-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@nightwatch/chai/download/@nightwatch/chai-5.0.1.tgz"},"_npmUser":{"name":"beatfactor","email":"beatfactor@hotmail.com"},"directories":{},"maintainers":[{"name":"admiral_puri","email":""},{"name":"automatedtester","email":"david.burns@theautomatedtester.co.uk"},{"name":"beatfactor","email":""},{"name":"garg3133","email":""},{"name":"gravityvi","email":""},{"name":"harshit-bs","email":""},{"name":"swrdfish","email":""},{"name":"vaibhavsingh97","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai_5.0.1_1642691727191_0.87340061556693"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-20T15:26:24.121Z","publish_time":1642691727334,"_cnpm_publish_time":1642691727334}},"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=\"https://www.npmjs.com/package/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://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  <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  <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\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","_attachments":{},"homepage":"http://chaijs.com","bugs":{"url":"https://github.com/chaijs/chai/issues"},"license":"MIT"}