{"id":19142267,"url":"https://github.com/eldoy/spekky","last_synced_at":"2026-06-11T21:35:48.154Z","repository":{"id":57674128,"uuid":"482658543","full_name":"eldoy/spekky","owner":"eldoy","description":"Nano size test runner","archived":false,"fork":false,"pushed_at":"2022-06-22T12:03:09.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T23:25:51.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eldoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-17T23:41:54.000Z","updated_at":"2022-06-04T21:50:40.000Z","dependencies_parsed_at":"2022-09-11T15:23:34.520Z","dependency_job_id":null,"html_url":"https://github.com/eldoy/spekky","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eldoy/spekky","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspekky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspekky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspekky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspekky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldoy","download_url":"https://codeload.github.com/eldoy/spekky/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspekky/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34219510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T07:26:34.906Z","updated_at":"2026-06-11T21:35:48.130Z","avatar_url":"https://github.com/eldoy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spekky\n\nNano size test runner. Zero dependencies.\n\nThe tests use `assert` and stops when a test fails. There is no output if all tests pass.\n\n### Install\n```\nnpm i spekky\n```\n\n### Usage\n\nCreate a directory called `spec` in your project's root folder.\n\nAdd your tests in `spec/tests`, for example call it `spec/tests/http.test.js`. Then add this in `spec/index.js`:\n\n```js\nconst test = require('spekky')\n\nasync function run() {\n  // ... start a server or do some setup\n\n  // Start timer\n  console.time('Test run')\n\n  // Test the file 'spec/tests/http.test.js\n  await test('http')\n\n  // End timer\n  console.timeEnd('Test run')\n}\nrun()\n```\n\nThe test in `spec/tests/http.test.js` looks like this:\n```js\nconst assert = require('assert')\nconst request = require('spett')\n\nconst it = {}\n\nit['should do some stuff'] = async function() {\n  const { data, code } = await request({ path: '/hello'})\n  assert.deepEqual(code, 200)\n  assert.deepEqual(data.hello, 'world')\n}\n\nmodule.exports = it\n```\n\nISC Licensed. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fspekky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldoy%2Fspekky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fspekky/lists"}