{"name":"zora","version":"5.0.0-alpha.4","description":"the lightest yet the fastest javascript testing library","main":"./dist/index.cjs","keywords":["test","testing","unit","tap","assertion","assert"],"type":"module","types":"dist/zora.d.ts","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"prettier":{"singleQuote":true},"scripts":{"build:types":"rollup -c rollup-types.js","build:js":"rollup -c rollup.js","build":"npm run build:js && npm run build:types","build:watch":"rollup -w -c rollup.js","test":"node test/run.js"},"author":{"name":"@lorenzofox3","email":"Laurent RENARD"},"license":"MIT","readme":"# Zora\n\n[![npm](https://badgen.net/npm/v/zora)](https://www.npmjs.com/package/zora)\n[![install size](https://badgen.net/packagephobia/install/zora)](https://packagephobia.now.sh/result?p=zora)\n\nZora is one of the lightest (if not the lightest), yet one of the fastest Javascript testing library (if not the fastest). It works in many environments\nincluding nodejs and the browser\n\n## Usage\n\nThe library is a __regular__ Javascript module and can be directly imported from a CDN:\n\n```Javascript\nimport {test} from 'https://unpkg.com/zora@5.0.0-alpha.1/dist/index.js'\n\ntest(`hello from zora`, ({ok}) => {\n    ok(true, 'it worked');\n})\n\n```\n\nOr installed via a package manager such [NPM](https://www.npmjs.com/) by running the command (assuming you have [Nodejs](https://nodejs.org/en/) installed on your machine):\n\n``npm i -D zora``\n\nYou can then build your testing program by using the exported ``test`` function\n\n```Javascript\nimport {test} from 'zora';\n\ntest(`my very first test`, (assertion) => {\n    assertion.ok(true, 'true is always truthy')\n})\n\n```\n\nThe tests should run automatically and report its execution into the console \n\n```TAP\nTAP version 13\n# my very first test\nok 1 - true is always truthy\n\n1..1\n# tests 1\n# pass  1\n# fail  0\n# skip  0\n```\n\n// todo\n\n\n","readmeFilename":"readme.md","_id":"zora@5.0.0-alpha.4","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-WshgTlrOOaTDR1Il4g5MomDcerGRd0oJZFKDjUCIY8ouYL0GJKom3E0yYsKh1W9G4MRlkfZ9tk5tQ049m8IeZg==","shasum":"153f74fe0c1b939a175fe46f18a4dcf61046a932","tarball":"http://registry-npm.ywwl.com/zora/download/zora-5.0.0-alpha.4.tgz","fileCount":5,"unpackedSize":37630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgs+opCRA9TVsSAnZWagAAS6QP/3TGyUuNePKTJVHDdaB+\nuhcdc8uUHNEwhJmY154rnx4ToCRQWNw34Z8XIUzjLHQbIfYL3VJ95pGn/3pd\nPIsOo5CO/P9UFyLbcpbiADlUTB7XxV7JmDFuqeF9E5CV/XWDalRm/yZnlMxj\nGmRlBfOyhpl0Gtqi9nWwh+2J1IVi/XeIw+580oBUvrzm/CJx8qmX0kC48uPx\nxkF0E0j6a5cfRsSuheDmJl9Vyu+8D4hs/aJZWQaNck3P6WGmPxJRNKHyvVZ1\nyETldGYj0fZyG7X1An4DOht/d9qK9DftRLUBYghTaK8Dtaq5Vc3swE0HF+2Q\n+pxaS5lS337RrBD1StgCQ/QzOVASH5GyZwRU2f7/0CfRIkjn+FvPxqZ9Cvc/\ngElyvf4PzCf23quct9nKrIk4F/LC4LVQjFxZetPs5OzVNpkEMbvzvFhO1rgw\nzPpJu2RED/FywiV7/p4MHXVfWFu/DPERttXSM/EWVzwxJMGVbxIsk8PQmjev\nc0yjaqsSYP9O2igxaCiewFXiqV/LLpF4yNOmDukmB0dqvq9kY2KBgd7BJs2V\nwfDCyCnd7J3n/2dBm45KLzVddAEdvpLSSKz0yinQcndrV0THWpX0ik0G9tIn\nyjZM9pq2nbzVZqCoD1pWSblSwTj8XttZayVY5UWs/SkWM2VEmTq0KQ59A65w\n72/t\r\n=SZwk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA3Det92RbKlP+gKXOAN9jTh9GuHsD7laWk6yuLSTh+wIgFjJNtHvkkD6yhV+3VD/acn63tAgalrPyjjBgM+JjLvg="}],"size":6908,"noattachment":false,"key":"/zora/-/zora-5.0.0-alpha.4.tgz"},"_npmUser":{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"},"directories":{},"maintainers":[{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zora_5.0.0-alpha.4_1622403625343_0.137907418012156"},"_hasShrinkwrap":false,"publish_time":1622403625491,"_cnpm_publish_time":1622403625491,"dist-tags":{"latest":"6.0.4","next":"5.0.0-beta.1"}}