{"_id":"claim","_rev":"9-804e15b6bc4d6a1c5bf41a544f513d32","name":"claim","description":"Tiny assertion library","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"claim","version":"1.0.0","description":"Tiny assertion library","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/claim"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":[],"dependencies":{"deep-equal":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"72dec3df3457ce234e001a0b66fe7978ff13fbe7","bugs":{"url":"https://github.com/kevva/claim/issues"},"homepage":"https://github.com/kevva/claim","_id":"claim@1.0.0","_shasum":"43c73e931519d0241a0bb15e883ca36fdd4709e0","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"43c73e931519d0241a0bb15e883ca36fdd4709e0","tarball":"https://registry.npmjs.org/claim/-/claim-1.0.0.tgz","integrity":"sha512-mLc1nkirpvOqTfP10SYjsKImczguKA3ma24vNkrO8jo8db36e8lsQqemsrmcHf6oCsHDXmwUzv67oTVaV1h6mA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/y+cVyD0bzF1jlYkiMuZVnxNJVp2sLO+UokUXcw2WaAIgTs4M4TI6RHmEvQpK2Yj4fRKhslFTQrouMweVqOEj30E="}]}},"1.0.1":{"name":"claim","version":"1.0.1","description":"Tiny assertion library","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/claim"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":[],"dependencies":{"deep-equal":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"06a78598743fdd5ebf9cec112b4fe5da619b6b9f","bugs":{"url":"https://github.com/kevva/claim/issues"},"homepage":"https://github.com/kevva/claim","_id":"claim@1.0.1","_shasum":"77bcb2a7d4af1d48265e617b9a28d005d3af94c0","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"77bcb2a7d4af1d48265e617b9a28d005d3af94c0","tarball":"https://registry.npmjs.org/claim/-/claim-1.0.1.tgz","integrity":"sha512-Paj6oVTQd0e2UjdfLZjtrSbPxGY/7JD7UfMXcMZE4u37ZV3u0APEHy9PGpeT7pvr9KyJq9DACWut+MLFf0SHnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFp4Rr4hIES6PuGH7dYDd1u1hjEKWGGhNT0sasV3pLvjAiEAvTtI35s4nG2YoQRBR+B27utJ2CoSFie/nmFaWM5+7aQ="}]}},"1.1.0":{"name":"claim","version":"1.1.0","description":"Tiny assertion library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/claim.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["assert","assertion","error","test","testing"],"dependencies":{"deep-equal":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"658847ac1a2781ef2570c58a5b4661fd16663abd","bugs":{"url":"https://github.com/kevva/claim/issues"},"homepage":"https://github.com/kevva/claim#readme","_id":"claim@1.1.0","_shasum":"219511831cb8b53ec2337a7523909a5d5ba2f2f9","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"219511831cb8b53ec2337a7523909a5d5ba2f2f9","tarball":"https://registry.npmjs.org/claim/-/claim-1.1.0.tgz","integrity":"sha512-2kFZB+dYm6IrWCVBefV9YUQnkhBifNPlOKdCafIhKVVAwaaC2oMqfO4smdzgqackJAssswDjMQgwALI9trm/xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNDg6/5ObaLMpnzDaBlqsiiWbCgGU4xakkbmFYZMwkoAiEA2bYkwgARG9rwf9oWvWIldIF/BUjCIJEITmf7WVHcVl4="}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}]},"1.2.0":{"name":"claim","version":"1.2.0","description":"Tiny assertion library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/claim.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["assert","assertion","error","test","testing"],"devDependencies":{"ava":"0.0.4"},"gitHead":"6e0479029a68236b359e37d885879323bbd7b840","bugs":{"url":"https://github.com/kevva/claim/issues"},"homepage":"https://github.com/kevva/claim#readme","_id":"claim@1.2.0","_shasum":"d4c1cc209c4924c5dfcee0ed0d2d3d067bb192da","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"d4c1cc209c4924c5dfcee0ed0d2d3d067bb192da","tarball":"https://registry.npmjs.org/claim/-/claim-1.2.0.tgz","integrity":"sha512-+zV5Ddv1R+8nEoQkAUbfx+xEt6lHHjR87OqG6y/T2xPZC6bGkU233vJYx/xgaFVUriRi8eqz7APnVf5u6SGRiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDm075CweF/JMf86znLRfleBHoTk9/MdaV4MR9nlGVxgIgQmlV3uXgk36p/GneQllbAwB2V02OwjONUylsGOmnOxk="}]}},"1.3.0":{"name":"claim","version":"1.3.0","description":"Tiny assertion library","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/claim.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["assert","assertion","error","test","testing"],"devDependencies":{"ava":"0.0.4"},"gitHead":"50523df5faf2ed434cc419ed7546c524afed9335","bugs":{"url":"https://github.com/kevva/claim/issues"},"homepage":"https://github.com/kevva/claim#readme","_id":"claim@1.3.0","_shasum":"aa2edd9c1263d1d5ed4b74624d8c3d9f26ac013f","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"aa2edd9c1263d1d5ed4b74624d8c3d9f26ac013f","tarball":"https://registry.npmjs.org/claim/-/claim-1.3.0.tgz","integrity":"sha512-NHwTqk9HG+Mo8YrMRzwke0MVOHK5kxjhrcZ2Ix4QLNrnurTTp+ZGo5RqffxIAurBwOBMaOAxG0phYhQdY4IaNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVPtbxPbboO3J0P/kfP4TyQZb68mZyT65zd+vuFM5WygIgXe8pGduOkejHIGCEXRAsl+1udCEkdNcyoPtpND0n5l4="}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}]},"1.4.0":{"name":"claim","version":"1.4.0","description":"Tiny assertion library","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/claim"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js | tap-dot"},"files":["index.js"],"keywords":["assert","assertion","error","test","testing","ava"],"devDependencies":{"tap-dot":"^1.0.0","tape":"^4.2.0","xo":"*"},"gitHead":"ccb89f79da0ee292aef46284c586b3bdd6ded296","bugs":{"url":"https://github.com/kevva/claim/issues"},"homepage":"https://github.com/kevva/claim","_id":"claim@1.4.0","_shasum":"deadaca42d45ef79cc26026e27d5e9cf77b2dcb9","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"deadaca42d45ef79cc26026e27d5e9cf77b2dcb9","tarball":"https://registry.npmjs.org/claim/-/claim-1.4.0.tgz","integrity":"sha512-aZY5Xxq5ecNYa3hUlS2UWPIkkXEdOg7QdOepnZhzdtk/7+T23e60EAL5V1gDlOCmAPEdm4l2bBYYESxisCyL+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3CnY3XxVmceZ3+9ZDJ3vWQM1q50QW8OX+Z38QmHLSWAiALn8SAdodMRbIanS1rasp19gCknuS7OX50nLxtp0xRQA=="}]}}},"readme":"# claim [![Build Status](https://travis-ci.org/kevva/claim.svg?branch=master)](https://travis-ci.org/kevva/claim)\n\n> Tiny assertion library\n\n\n## Install\n\n```\n$ npm install --save claim\n```\n\n\n## Usage\n\n```js\nvar claim = require('claim');\n\nclaim.true(true);\nclaim.false(false);\nclaim.is('foo', 'foo');\nclaim.not('foo', 'bar');\nclaim.same(['a', 'b'], ['a', 'b']);\nclaim.notSame({a: 'a'}, {a: 'b'});\nclaim.regexTest(/^abc$/, 'abc');\n```\n\n\n## API\n\n### .pass([message])\n\nPassing assertion.\n\n### .fail([message])\n\nFailing assertion.\n\n### .ok(value, [message])\n\nAssert that `value` is truthy.\n\n### .notOk(value, [message])\n\nAssert that `value` is falsy.\n\n### .true(value, [message])\n\nAssert that `value` is `true`.\n\n### .false(value, [message])\n\nAssert that `value` is `false`.\n\n### .is(value, expected, [message])\n\nAssert that `value` is equal to `expected`.\n\n### .not(value, expected, [message])\n\nAssert that `value` is not equal to `expected`.\n\n### .same(value, expected, [message])\n\nAssert that `value` is deep equal to `expected`.\n\n### .notSame(value, expected, [message])\n\nAssert that `value` is not deep equal to `expected`.\n\n### .throws(function, error, [message])\n\nAssert that `function` throws an error.\n\n`error` can be a constructor, regex or validation function.\n\n### .doesNotThrow(function, [message])\n\nAssert that `function` doesn't throw an `error`.\n\n### .regexTest(regex, contents, [message])\n\nAssert that `regex` matches `contents`.\n\n### .ifError(error, [message])\n\nAssert that `error` is falsy.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-13T06:04:56.038Z","created":"2015-04-21T18:24:43.823Z","1.0.0":"2015-04-21T18:24:43.823Z","1.0.1":"2015-04-21T18:32:34.805Z","1.1.0":"2015-05-20T16:08:08.791Z","1.2.0":"2015-05-20T17:28:41.679Z","1.3.0":"2015-05-20T17:36:49.152Z","1.4.0":"2015-09-09T08:46:51.977Z"},"homepage":"https://github.com/kevva/claim","keywords":["assert","assertion","error","test","testing","ava"],"repository":{"type":"git","url":"https://github.com/kevva/claim"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"bugs":{"url":"https://github.com/kevva/claim/issues"},"license":"MIT","readmeFilename":"readme.md"}