{"name":"@tapjs/asserts","version":"4.3.12","description":"Tap plugin that adds a heaping pile of assertion methods. Pretty much all of the \"test\" methods other than `t.pass`, `t.fail`, and [snapshot methods](https://tapjs.github.io/tapjs/modules/_tapjs_snapshot.html) come from this plugin.","tshy":{"main":true,"exports":{"./package.json":"./package.json",".":"./src/index.ts"},"selfLink":false},"type":"module","main":"./dist/commonjs/index.js","module":"./dist/esm/index.js","types":"./dist/commonjs/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"prepare":"tshy","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","format":"prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache","typedoc":"typedoc --tsconfig tsconfig/esm.json ./src/*.ts"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://blog.izs.me"},"license":"BlueOak-1.0.0","dependencies":{"@tapjs/stack":"4.3.3","is-actual-promise":"^1.0.1","tcompare":"9.3.2","trivial-deferred":"^2.0.0"},"peerDependencies":{"@tapjs/core":"4.6.0"},"tap":{"coverage-map":"./map.js","typecheck":false},"repository":{"type":"git","url":"git+ssh://git@github.com/tapjs/tapjs.git","path":"src/asserts"},"homepage":"https://github.com/tapjs/tapjs/tree/main/src/asserts#readme","bugs":{"url":"https://github.com/tapjs/tapjs/issues"},"keywords":["tapjs plugin"],"funding":{"url":"https://github.com/sponsors/isaacs"},"engines":{"node":"20 || >=22"},"gitHead":"8ab84eb1daae6dedbfcf07b8e0bf2c2a965ad81f","_id":"@tapjs/asserts@4.3.12","_nodeVersion":"26.5.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-dJVQxRcP4MqxpOYolQirZasyNgjqCQSFnyDNHDW03xPW7dNOlZ8RdJ2kTsW3Zt4eEHGWq3693mgkof8Z+KE6PQ==","shasum":"3025168bd7c114747996bef7a7c4034a46f4d820","tarball":"http://registry-npm.ywwl.com/@tapjs/asserts/download/@tapjs/asserts-4.3.12.tgz","fileCount":21,"unpackedSize":239621,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCAeblwAZRFGzYQIqjO8mdLrHFBEcWwECdxbGqe2NHONwIgGVKBp/L9QnyiqdOnw4OeGxiWiQ/o+cdK162f+jHiiZ0="}],"size":34667,"noattachment":false,"key":"/@tapjs/asserts/-/@tapjs/asserts-4.3.12.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"isaacs","email":"i@izs.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/asserts_4.3.12_1788477707710_0.5515021401582345"},"_hasShrinkwrap":false,"readme":"# `@tapjs/asserts`\n\nTap plugin that adds a heaping pile of assertion methods. Pretty\nmuch all of the \"test\" methods other than `t.pass`, `t.fail`, and\n[snapshot\nmethods](https://tapjs.github.io/tapjs/modules/_tapjs_snapshot.html)\ncome from this plugin.\n\n## USAGE\n\nThis plugin is installed with tap by default. If you had\npreviously removed it, you can `tap plugin add @tapjs/asserts` to\nbring it back.\n\n### `compareOptions`\n\nThis plugin adds the `compareOptions` option to the set of fields\nthat can be passed to child tests. You can also set\n`t.compareOptions` after the fact.\n\n`compareOptions` lets you pass options to\n[tcompare](https://tapjs.github.io/tapjs/modules/tcompare.html)\nto specify the formatting style, diff context lines, and so on.\n\nIt can contain the following fields:\n\n- `sort` - boolean, sort items alphabetically by key.\n- `bufferChunkSize` - number of bytes to show on each line when\n  printing buffers, default `32`\n- `includeEnumerable` - boolean, include any and all enumerable\n  properties, including those inherited on the prototype chain.\n  By default, only `own` properties are shown.\n- `includeGetters` - boolean, include getter properties.\n- `diffContext` - how many lines of context to print around\n  changes in diffs, default `10`. Note that the test reporter\n  might use more or less than this value when displaying pretty\n  colored diffs.\n\n### Assertion Methods\n\nAll of the assertion methods are documented [on the `Assertions`\nclass](https://tapjs.github.io/tapjs/classes/_tapjs_asserts.index.Assertions.html).\nWhen this plugin is loaded, these are all present on `Test`\nobjects.\n","publish_time":1788477707849,"_cnpm_publish_time":1788477707849,"dist-tags":{"latest":"4.3.13","pre":"1.0.0"}}