{"id":20522726,"url":"https://github.com/testxio/eval","last_synced_at":"2026-04-16T23:34:17.818Z","repository":{"id":57165644,"uuid":"106805205","full_name":"testxio/eval","owner":"testxio","description":"A very simple eval-in-context function.","archived":false,"fork":false,"pushed_at":"2017-10-13T09:40:39.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T19:49:06.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/testxio.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":"2017-10-13T09:31:39.000Z","updated_at":"2017-10-13T09:40:40.000Z","dependencies_parsed_at":"2022-08-30T15:21:10.416Z","dependency_job_id":null,"html_url":"https://github.com/testxio/eval","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testxio%2Feval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testxio%2Feval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testxio%2Feval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testxio%2Feval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testxio","download_url":"https://codeload.github.com/testxio/eval/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242128317,"owners_count":20076177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-15T22:36:36.330Z","updated_at":"2026-04-16T23:34:12.746Z","avatar_url":"https://github.com/testxio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### @testx/eval\nThis package exports a simple function, that allows you to *eval* code in context. The function has the signature **evalInContext(context, codeToExecute)**.\n\n#### Example\n\n```javascript\n  const assert = require(\"assert\");\n  const evalInCtx = require(\"@testx/eval\");\n  const context = { some: \"value\" };\n  const result = evalInCtx(context, \"some\");\n  assert.equal(result, \"value\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestxio%2Feval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestxio%2Feval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestxio%2Feval/lists"}